Which of the following is not true in C++ ?
A. “Private” elements of a base class are not accessible by members of its derived class.
B. “Protected” elements of base class are not accessible by members of its derived class.
C. When base class access specified is “Public”, public elements of the base class become public members of its derived class.
D. When base class access specified is “Public”, protected elements of a base class become protected members of its derived class.
Answer:B
Which of the following is not true in C++ ?
A. “Private” elements of a base class are not accessible by members of its derived class. B. “Protected” elements of base class are not accessible by members of its derived class. C. When base class access specified is “Public”, public elements of the base class become public members of its derived class. D. When base class access specified is “Public”, protected elements of a base class become protected members of its derived class.