Solved-Lab 6- Solution

$30.00 $19.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 – Derived from Student Data Members None…

You’ll get a: . zip file solution

 

 
Categorys:
Tags:

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

    1. Private String name

    1. Protected int id; Methods

    1. See JavaDocs for Methods

Grad – Derived from Student

Data Members

    1. None – just the Base Class Methods

    1. See JavaDocs for Methods

Undergrad – Derived from Student

Data Members

    1. Private int representing graduation year

    1. Base class data members Methods

    1. 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)