Question: Implement the Java application following the given restrictions. Phase 1: Design the following classes: An abstract University Person. Concrete Student, Staff, Faculty, Undergrad, Graduate classes.
Implement the Java application following the given restrictions.
Phase 1:
Design the following classes: An abstract University Person. Concrete Student, Staff, Faculty, Undergrad, Graduate classes. Each concrete sub class will have a unique number that ranges between 0 and 255. UniversityPerson is the top of the hierarchy of classes whose sub classes are Student, Staff and Faculty. Undergrad and Graduate inherit from the Student class. UniversityPerson has firstName and lastName properties. Create default no-arg and parametirzed constructors. This class also has a static method called search that takes last name and will do search records if its subclass objects. The UniversityPerson class has an abstract method called read that is overriden by all sub classes of it. And it returns a reference to an object of type UniversityPerson. All sub classes of UniversityPerson override the toString method that prints the objects data in a nicely formatted way.
I uploaded the phase 2 as another question.Can you please type it for me as remaining of this phase 1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
