$24
PROGRAM SPECIFICATIONS
In this lab you will create a basic inheritance hierarchy that consists of a base class of a Student, and two derived classes Grad and Undergrad.
CLASS SPECIFICATIONS
Student – Base Class
Data Members
Private String name
Protected int id; Methods
See JavaDocs for Methods
Grad – Derived from Student
Data Members
None – just the Base Class Methods
See JavaDocs for Methods
Undergrad – Derived from Student
Data Members
Private int representing graduation year
Base class data members Methods
See JavaDocs for Methods
TypeSort – Comparator
See JavaDocs
TO TURN IN
A zip file that contains:
All java source files needed to compile your code Sample run name cscd211Lab6out.txt
You zip will be named your last name first letter of your first name lab6.zip (Example: steinerslab6.zip)