Multiple choice

Which of the following statements is TRUE about inheritance?

  1. It promotes reusability

  2. It has restricted use

  3. It makes a program slower

  4. It breaks a program into smaller parts

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Inheritance promotes code reusability by allowing derived classes to reuse existing code from base classes. Option B is false because inheritance is widely used. Option C is false - inheritance can improve efficiency through code reuse. Option D describes modularization or decomposition, not inheritance specifically.