English

In what way does Inheritance support reusability? - Computer Applications

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?
Chapter 8: Encapsulation and Inheritance - Review Insight [Page 443]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 8 Encapsulation and Inheritance
Review Insight | Q 4. | Page 443
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×