In object-oriented programming, a subclass inherits all members of its base…

PYQ IBPS 2025 (paper not recorded)

In object-oriented programming, a subclass inherits all members of its base class except:

  1. A.

    Public members from the base class

  2. B.

    Protected members from the base class

  3. C.

    Private members from the base class

  4. D.

    Static members from the base class

  5. E.

    Friend functions of the base class

Attempted by 168 students.

Sign up free to check your answer

Sign up free

Explore the full course: Ibps So It Mains

Loading lesson…