हिंदी

Define the term inheritance.

Advertisements
Advertisements

प्रश्न

Define the term inheritance.

परिभाषा
Advertisements

उत्तर

Inheritance is an object-oriented programming mechanism in which a new class acquires the properties and methods of an existing class. The existing class is called the base/parent/superclass, and the new class is called the derived/child/subclass. It promotes code reusability.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 4: Inheritance - EXERCISE [पृष्ठ ७७]

APPEARS IN

सीबीएसई Computer Science with Python [English] Class 12
अध्याय 4 Inheritance
EXERCISE | Q 1. | पृष्ठ ७७
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×