Advertisements
Advertisements
Question
In what way does Inheritance support reusability?
Short Answer
Solution
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
Is there an error in this question or solution?