Question: Create two Java subclasses of your Person class called Student and Teacher. For the Student class, include the following attributes college and dorm. The Teacher
Create two Java subclasses of your Person class called Student and Teacher. For the Student class, include the following attributes college and dorm. The Teacher class needs the following attribute room # and one or more courses. You must have your constructors and methods for your classes including a method for printing the attributes. Please include all three classes in a zip files providing the Java source code only.
*** I had this answered earlier, but there was not a teacher class, can someone answer this please?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
