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