Computer Science, asked by sudhir13031972, 11 hours ago

briefly explain about inheritance.​

Answers

Answered by ay6591832
0

Answer:

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 tiwaripoonam9032
0

Answer:

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.

Explanation:

Similar questions