explain the meaning of the OOPs feature inheritance
Answers
Answered by
1
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
1
Answer:
<<HI MATE>>
Explanation:
<<HOPE THIS ANSWER HELPS YOU>>
Inheritance--->
The process by which one object acquires the properties of another object is called inheritance.
<<I AM HAPPY TO HELP YOU WITH THIS ANSWER>>
Similar questions