//TimeTest.java // Demonstrate error resulting from attempts // to access private class members. public class TimeTest { public static void main( String args[] ) { Time1 t = new Time1(); t.hour = 7; } }