/** * Write a description of class MemberAcces here. * * @author (Muhammad Bagus Istighfar) * @version (14.10.20) */ public class MemberAccesTest { public static void main (String[] args) { Time1 time = new Time1(); time.hours=7;// error: has private acces in Tim1 time.minute=15;//error: has private acces in Time1 time.second=30;//error: has private acces in Time1 } }