Computer Science
Define Inheritance with real world examples:
Objects & Classes
1 Like
Answer
Inheritance enables new classes to receive or inherit the properties and methods of existing classes. Below is an example of inheritance showing the hierarchy of vehicles:

Answered By
3 Likes