Question: A Person superclass has 2 properties: name and age A Student subclass has 2 additional ( specific ) properties: year and section A Teacher subclass

A Person superclass has 2 properties: name and age
A Student subclass has 2 additional (specific) properties: year and section
A Teacher subclass has 2 additional (specific) properties: faculty and subject
Output result:
Submission:
Draw the UML Class Diagram of your classes, save the diagram as a PDF file;
Put all the .java files into the folder of the package assign2;
Compress(zip) the folder of the package and the PDF file into a .zip file and rename it with the
name convention: "Assign2_pXXXXXXX.zip" (pXXXXXXX is your student ID);
And submit the .zip file to Canvas.
Note that you can reuse the class of your assignment 1 as one of the three classes. But you
MUST find and define a class by your own. Copying the class of the example code, e.g.
Circle Classes, TV Classes and the Rectangle Classes, Person, Student, Teacher, etc., is not
acceptable.
 A Person superclass has 2 properties: name and age A Student

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!