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 properties: name and age
A Student subclass has additional specific properties: year and section
A Teacher subclass has 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 assign;
Compresszip the folder of the package and the PDF file into a zip file and rename it with the
name convention: "AssignpXXXXXXXzip" pXXXXXXX is your student ID;
And submit the zip file to Canvas.
Note that you can reuse the class of your assignment as one of the three classes. But you
MUST find and define a class by your own. Copying the class of the example code, eg
Circle Classes, TV Classes and the Rectangle Classes, Person, Student, Teacher, etc., is not
acceptable.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
