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 Nameand Age needed only once Create four classes as shown above. Person

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!