Which of the following is not true in C++ ?

UGC NET 2007

Which of the following is not true in C++ ?

  1. A.

    “Private” elements of a base class are not accessible by members of its derived class.

  2. B.

    “Protected” elements of base class are not accessible by members of its derived class.

  3. C.

    When base class access specified is “Public”, public elements of the base class become public members of its derived class.

  4. D.

    When base class access specified is “Public”, protected elements of a base class become protected members of its derived class.

Attempted by 20 students.

Sign up free to check your answer

Sign up free

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…