What is meant by Inheritance?

Total Post:240

Points:1200
OOPS 
 1916  View(s)
Ratings:
Rate this:
  1. Post:240

    Points:1200
    What is meant by Inheritance?

    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.

Answer