...
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024
OOPS
August 29, 2024

OOPS

Question 58
When the inheritance is private, the private methods in base class are __________ in the derived class (in C++).
A
inaccessible
B
accessible
C
protected
D
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.

Leave a Reply

Your email address will not be published. Required fields are marked *