________ is mechanism by which one class acquires the properties – data fields…

2023

________ is mechanism by which one class acquires the properties – data fields and methods of another class.

  1. A.

    Class

  2. B.

    Encapsulation

  3. C.

    Inheritance

  4. D.

    Polymorphism

  5. E.

    Question not attempted

Attempted by 296 students.

Show answer & explanation

Correct answer: C

Inheritance is the mechanism by which one class (child/subclass) acquires the properties (data members) and methods of another class (parent/superclass).

Explore the full course: Up Lt Grade Assistant Teacher 2025