हिंदी

List three features that make inheritance an important characteristic of OOP.

Advertisements
Advertisements

प्रश्न

List three features that make inheritance an important characteristic of OOP.

लघु उत्तरीय
Advertisements

उत्तर

  1. Code reusability: Common data and methods of the base class are reused by derived classes.
  2. Extension: A derived class can add new attributes and behaviours without changing the base class.
  3. Transitive nature: A class derived from another derived class also receives the properties of the original base 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 5. | पृष्ठ ३७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×