Advertisements
Advertisements
प्रश्न
In what way does Inheritance support reusability?
लघु उत्तरीय
उत्तर
When a class is inherited by another class then the data members are operated in both the base as well as the derived class by using different functions. This is said to be reusability. Thus, inheritance supports reusability.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?