Computer Science

Define Inheritance with real world examples:

Objects & Classes

2 Likes

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:

Vehicle class hierarchy as an example of inheritance to explain ISC Computer Science

Answered By

1 Like


Related Questions