What is Inheritance in Object-oriented programming?

0
(0)

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.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

As you found this post useful...

Share this post on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?