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
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
