Based on the above diagram, answer the following; (i) Write the name of the base class and derived classes. (ii) Write the type of inheritance depicted in the above diagram.
Advertisements
Advertisements
प्रश्न
Based on the above diagram, answer the following;

- Write the name of the base class and derived classes.
- Write the type of inheritance depicted in the above diagram.
अति संक्षिप्त उत्तर
Advertisements
उत्तर
Baseis the base class.Derived 1andDerived 2are the derived classes.- It depicts hierarchical inheritance, because more than one class inherits from the same base class.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
