OOPS
August 29, 2024OOPS
August 29, 2024OOPS
Question 58 |
When the inheritance is private, the private methods in base class are __________ in the derived class (in C++).
inaccessible | |
accessible | |
protected | |
public |
Question 58 Explanation:
When the inheritance is private, the private methods in base class are inaccessible in the derived class.

Correct Answer: A
Question 58 Explanation:
When the inheritance is private, the private methods in base class are inaccessible in the derived class.
