Advertisements
Advertisements
Question
Based on the above diagram, answer the following;

- Write the name of the base classes and derived class.
- Name the type of inheritance depicted in the above example.
Very Short Answer
Advertisements
Solution
Base 1andBase 2are the base classes.Derivedis the derived class.- It depicts multiple inheritance, because one derived class inherits from two base classes.
shaalaa.com
Is there an error in this question or solution?
