Lab 6 Solution

$35.00 $24.00

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…

You’ll get a: . zip file solution

 

 
Categorys:

Description

5/5 – (2 votes)

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)