Question: Question 3 Multiple Inheritance Person Name Age Student Faculty TA Name and Age needed only once Create four classes as shown above. Person is the


Question 3 Multiple Inheritance Person Name Age Student Faculty TA Name and Age needed only once Create four classes as shown above. Person is the parent class. Student and Faculty are child classes, and TA is the grandchild class. Person contains two data members: Name (string) and Age (int). In the default constructor of each class, write a cout statement, saying "I am in this class. Here, "this' should be the name of each class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
