Advertisements
Advertisements
प्रश्न
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.
अति संक्षिप्त उत्तर
Advertisements
उत्तर
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
