Which of the following is/are feature(s) of inheritance in OOPs? Features: i)…

2023

Which of the following is/are feature(s) of inheritance in OOPs? Features: i) Sub Class ii) Super Class iii) Reusability iv) Operator Overloading

  1. A.

    iii only

  2. B.

    i and ii only

  3. C.

    ii and iii only

  4. D.

    i, ii and iii only

Attempted by 219 students.

Show answer & explanation

Correct answer: D

Inheritance in Object-Oriented Programming (OOP) involves:

  1. Sub Class → The derived class that inherits properties from another class.

  2. Super Class → The base class whose properties are inherited.

  3. Reusability → One of the main advantages/features of inheritance, as existing code can be reused.

Operator Overloading is a separate OOP concept and is not a feature of inheritance.

Therefore, the correct answer is i, ii and iii only.

Explore the full course: Up Lt Grade Assistant Teacher 2025