Question: Implement a base class Person. Derive classes Student and Instructor from Person. A person has a name and a birthday. A student has a major,
Implement a base class Person. Derive classes Student and Instructor from Person. A person has a name and a birthday. A student has a major, and an instructor has a salary. Write the class definitions, the constructors, and the member functions display for all classes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
