ICSE Class 10 Computer Applications
Question 13 of 16
Encapsulation and Inheritance — Question 15
Back to all questions 15
Question Question 15
Why do you need to use inheritance? Give two reasons.
We need to use inheritance for the following reasons:
- Inheritance divides a program into useful and reusable set of classes.
- Changes made in the original class are reflected in all the inherited classes.