What is Inheritance in Object-oriented programming?
Inheritance is the process by which objects of one class acquired the properties of objects
of another class. In OOP, the concept of inheritance provides the idea of reusability. This means that we can add additional features to an existing class without modifying it.
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?