OOPS
November 29, 2023OOPS
November 29, 2023OOPS
|
Question 74
|
Which of the following is NOT true in case of protected Inheritance in C++?
|
Each public member in the base class is protected in the derived class
|
|
|
Each protected member in the base class is protected in the derived class
|
|
|
Each private member in the base class is private in the derived class
|
|
|
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.
