Question OOP-INH-0047
MediumClass Car extends Vehicle and Vehicle extends Machine. What kind of inheritance is this?
- A.
Hierarchical
- B.
Multiple
- 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
Class Car extends Vehicle and Vehicle extends Machine. What kind of inheritance is this?
Hierarchical
Multiple
Sign up free to see the answer and a step-by-step explanation.
Multilevel
Hybrid