Code 29: Time Class
Code a:
public class Test{
public static void main(String args[]){
Class2 Class2Object = new Class2();
System.out.println(Class2Object.toMilitary());
Class2Object.getTime(3, 59, 9);
System.out.println(Class2Object.toMilitary());
}
}