Advertisements
Advertisements
प्रश्न
List three features that make inheritance an important characteristic of OOP.
लघु उत्तरीय
Advertisements
उत्तर
- Code reusability: Common data and methods of the base class are reused by derived classes.
- Extension: A derived class can add new attributes and behaviours without changing the base class.
- Transitive nature: A class derived from another derived class also receives the properties of the original base class.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
