Inheritance is a relationship among classes, wherein one class shares the structure or behaviour defined in another class. This is called Single Inheritance. If a class shares the structure or behaviour from multiple classes, then it is called Multiple Inheritance. Inheritance defines “is-a” hierarchy among classes in which one subclass inherits from one or more generalised superclasses.
Liked By
Write Answer
What is meant by Inheritance?
Join MindStick Community
You have need login or register for voting of answers or question.
Pushpendra Singh
26-Oct-2010