Inheritance is a mechanism in which one class acquires the property of another class. For example, a child inherits the traits of his/her parents. With inheritance, we can reuse the fields and methods of the existing class. Hence, inheritance facilitates Reusability and is an important concept of OOPs. - Study24x7
Social learning Network
05 Apr 2019 10:19 AM study24x7 study24x7

Inheritance is a mechanism in which one class acquires the property of another class. For example, a child inherits the traits of his/her parents. With inheritance, we can reuse the fields and methods of the existing class. Hence, inheritance facilitates Reusability and is an imp...

See more

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles