Create clock example two with driver

drive


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author elacy
 */
public class ClockDriver {
    public static void main (String[] args){
       clock2 clockObject = new clock2();
       
       System.out.println(clockObject.toMilitary());
       System.out.println(clockObject.toString());

       
       //needs to fill out in order to match class    
       clockObject.setTime(13, 14, 15);
       System.out.println(clockObject.toMilitary());
       System.out.println(clockObject.toString());
    }
}