Question OOP-INH-0029
EasyWhat is the main benefit of inheritance?
- A.
Reusing existing code instead of writing it again
- B.
Making programs run faster
- 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
What is the main benefit of inheritance?
Reusing existing code instead of writing it again
Making programs run faster
Sign up free to see the answer and a step-by-step explanation.
Avoiding classes altogether
Hiding data