Explain the term Inheritance with Suitable Example?
50 points (:
Answers
Answered by
0
Explanation:
this is the answer to the question please follow me and Mark as brainliest
Attachments:
Answered by
0
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.
❤️❤️❤️❤️❤️❤️☺️❤️❤️❤️❤️❤️❤️❤️
Similar questions