Advertisements
Advertisements
प्रश्न
Consider the figure given below and answer the questions that follow:

- Name the base class and the derived class.
- Which concept of OOP is implemented in the figure given above?
अति संक्षिप्त उत्तर
Advertisements
उत्तर
- Classes in the figure
- Base class:
Mobile_phone - Derived class:
i_phone
- Base class:
- OOP concept implemented:
Inheritance.
Thei_phoneclass obtains the common characteristics of theMobile_phoneclass.
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
