Question: (Using C++) Create the Person class. Create some objects of this class (by taking information from the user). Inherit the class Person to create two
(Using C++) Create the Person class. Create some objects of this class (by taking information from the user). Inherit the class Person to create two classes Teacher and Student class. Maintain the respective information in the classes and create, display and delete objects of these two classes (Use Runtime Polymorphism).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
