Question OOP-INH-0030
EasyWhich of these is an 'is-a' relationship suitable for inheritance?
- A.
A car uses fuel
- B.
A car is parked in a garage
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Inheritance question
Which of these is an 'is-a' relationship suitable for inheritance?
A car uses fuel
A car is parked in a garage
Sign up free to see the answer and a step-by-step explanation.
A car has an engine
A car is a vehicle