Question: in Java Draw an inheritance diagram (university) that shows the inheritance relationships between the classes :- - Person - Employee - Student - Instructor -
in Java
Draw an inheritance diagram (university) that shows the inheritance relationships between the classes :-
- Person
- Employee
- Student
- Instructor
- Classroom
- Object
and also give the structure/definition of Person and Employee class stating the fields and methods of both the classes and the methods overridden in the employee class.You may declare Abstract class as well if required.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
