Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Driver
- *
- * This is the program driver for the Tickets
- *
- * @author Quinn Comstock
- * @version March 5th 2015
- */
- public class Driver
- {
- public static void main (String[] args)
- {
- Walkup walk = new Walkup( 5 );
- System.out.println(walk.toString());
- System.out.println();
- Advance adva1 = new Advance( 1, 12 );
- System.out.println(adva1.ToString());
- System.out.println();
- Advance adva2 = new Advance( 3, 8 );
- System.out.println(adva2.ToString());
- System.out.println();
- StudentAdvance stud1 = new StudentAdvance ( 4, 3);
- System.out.println(stud1.toString());
- System.out.println();
- StudentAdvance stud2 = new StudentAdvance ( 2, 15);
- System.out.println(stud2.toString());
- System.out.println();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement