what is inheritance?
Anonymous:
___k off
Answers
Answered by
2
Ello ji◀❤
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.
Answered by
5
inheritance is a mechanism in which one class acquire the property of another class .
hope it's helps you :)
Similar questions