Explain how the inheritance feature of object oriented programming helps in code reuse?
Answers
Answered by
0
In OOP, computer programs are designed in such a way where everything is an object that interact with one another. Inheritance is one such concept where the properties of one class can be inherited by the other. It helps to reuse the code and establish a relationship between different classes.
Similar questions