Question: Using java please Person, Student, Employee, Faculty, and Staff classes: Design a class name Person and its two subclasses name Student and Employee Make Faculty

 Using java please Person, Student, Employee, Faculty, and Staff classes: Design

a class name Person and its two subclasses name Student and Employee

Make Faculty and Staff subclasses of Employee. A person has a name,

address (String type) A student has a status: freshman, sophomore, junior, or

senior (String type) An employee has an office (string), and date hired

by year (integer) A faculty member has office hours (String) and a

Using java please

Person, Student, Employee, Faculty, and Staff classes: Design a class name Person and its two subclasses name Student and Employee Make Faculty and Staff subclasses of Employee. A person has a name, address (String type) A student has a status: freshman, sophomore, junior, or senior (String type) An employee has an office (string), and date hired by year (integer) A faculty member has office hours (String) and a rank: Lecturer, Assistant Professor, Assosicate Professor, or Professor (String) A staff member has a title: staff assistant, or IT manager (String) Override the toString0 method in each class to display the object information Each class must have correct data (as mentioned above), contractor, and methods showed in UML diagram in page 2 You could have more contractors or methods, but make sure you implement all contractors and methods showed in page 2 You have to implement all and only data field mentioncd above, that also prescntcd in diagram on page 2 (That meant you CAN NOT have difference data field other than what shown in page 2) Write a test program name TestSchoolManagement, exactly same as the one on page 3, that creates a Person, Student, Employee, Faculty, and Staff object, invokes their toString0 methods, and test their other methods. Note: You have to use all the code show in page 3 to implcmcnt your test program. I will you that code to grade you classes to Draw UML diagram for cach class that show hierarchy relation, see the diagram in page 02 for example (also see figue 11.1 page 411 for other example) and implement them Test your proram TestSchoolManagement

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!