...
OOPS
November 29, 2023
OOPS
November 29, 2023
OOPS
November 29, 2023
OOPS
November 29, 2023

OOPS

Question 74
Which of the following is NOT true in case of protected Inheritance in C++?
A
Each public member in the base class is protected in the derived class
B
Each protected member in the base class is protected in the derived class
C
Each private member in the base class is private in the derived class
D
Each private member in the base class is visible in the derived class
Question 74 Explanation: 
The following table shows the access to members permitted by each modifier.
Correct Answer: D
Question 74 Explanation: 
The following table shows the access to members permitted by each modifier.

Leave a Reply

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