Computer Science, asked by Jaysu8219, 9 months ago

Define inheritance and give one example

Answers

Answered by irshadalam7864
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:

mark me brainlist.....

Answered by khushiydv2005
0

Answer:

the process by which genetic information is passed on from parent to child is called inheritance.

ex. a boy child gets his father's inherits

Similar questions