Which feature of OOP boosts the code reusability?

2022

Which feature of OOP boosts the code reusability?

Answer: C. InheritanceThe correct option is Option 3: Inheritance.Inheritance allows a new class (subclass) to acquire the properties and behaviors of an existing class…

  1. A.

    Encapsulation

  2. B.

    Polymorphism

  3. C.

    Inheritance

  4. D.

    Abstraction

Attempted by 743 students.

Show answer & explanation

Correct answer: C

The correct option is Option 3: Inheritance.Inheritance allows a new class (subclass) to acquire the properties and behaviors of an existing class (superclass). By inheriting existing code, you avoid writing the same logic from scratch, which directly boosts code reusability.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…