Consider the figure given below and answer the questions that follow: STUDENT GRADUATE POST GRADUATE a. Name the base class and the derived class. b. Which concept of OOP is implemented
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
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
