Question: Complete in Java programming Language. thank you Suppose we are designing a college record-keeping program that has records for students and faculty. There is a

Suppose we are designing a college record-keeping program that has records for students and faculty. There is a natural hierarchy for grouping these record types: They are all records of people. Students. The student has the ability to start from the beginning (reset) at any point, ie, a student in 3rd year can start from the beginning with the same major or a different one. We have two kinds of students: Undergraduate Students. Undergraduate students have the following properties Name, Student Number, Major, and Level freshman, sophomore.junior, senior) Graduate Students. Graduate students have the following properties: Name. Student Number, Major, and Degree (Master, Doctoral) Instructors. Instructors have the following properties: Name, ID. Salary. However, the salary is a property in the job class can be found in slide 55 here: CS 143 Lecture 03 Inheritance Composition and Overriding Methods.pptx In all of the previous classes, you can check if the person whether that a student or an instructor) is the same. (Hint: Could be done by overriding equal method). Also, you should be able to display the correct person of every person type. Your lab work consists of two parts: 1. Draw the UML Class Diagram of the system 2. Implement the system in Eclipse using all the concepts of inheritance and composition you have learned so far. You must try your code by creating an array of 5 people, each is different.(Polymorphism) Sample Run: Problems Javadoc Declaration Console terminated inhance Demo Dave Application Program Fively Name: Smith, Will Type: Instructor Instructor Number: 4910 Instructor Salary: $60000.00 Name: Statham, Jason Type: Undergraduate Student Number: 9931 Student Major: Computer Science Student Level: Sophomore Name: Johnson, Dwayne Your lab work consists of two parts: 1. Draw the UML Class Diagram of the system. 2. Implement the system in Eclipse using all the concepts of inheritance and composition you have learned so far. You must try your code by creating an array of 5 people, each is different.(Polymorphism) Sample Run: 2. Problems Javadoc Declaration Console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
