हिंदी

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:

  1. Name the base class and the derived class.
  2. Which concept of OOP is implemented in the figure given above?
अति संक्षिप्त उत्तर
Advertisements

उत्तर

  1. Classes in the figure
    1. Base class: Mobile_phone
    2. Derived class: i_phone
  2. OOP concept implemented: Inheritance.
    The i_phone class obtains the common characteristics of the Mobile_phone class.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Concept of Object Oriented Programming - EXCERCISE [पृष्ठ ३७]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
अध्याय 2 Concept of Object Oriented Programming
EXCERCISE | Q 6. | पृष्ठ ३७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×