LAB 5

CMPS 12A
Winter 2015

Due: Mar 6, 2015, Friday, 6:00pm

Objective: Learn more about classes and inheritance.


Assignment:

  • Your program should be saved in a file named AirBooking.java

  • Your class should be named AirBooking

  • Make sure your code (and every program that you write) have a comment block in the beginning of the file. Make sure your code is properly formatted and documented (as always).

  • Submit your program using the following command on unix.ic.ucsc.edu:
     submit cmps012a-ap.w15 lab5 AirBooking.java
    

    Make sure that for this program, and all other programs you write for CMPS 12A this quarter, have been recompiled and tested on unix.ic.ucsc.edu before submission.

  • Grading rubrics for lab5:
    20  -- documentation and comments
    40  -- use inheritance
    10  -- checks for No Routes available
    10  -- checks for No Flights available on that date
    10  -- checks for Insufficient Tickets available
    10  -- correctly books tickets and displays updated status
    
    -100 IF MANUAL PROCESSING IS REQUIRED
    
    Who Will Grade What:
    --------------------
    
    
    Ryan   : aalkahel - dlopez8
    Kara   : dlskilli - jssorens
    Derek  : jtorre34 - romarks
    Eitan  : rpickett - zwang58