ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which among the following is true?
Correct Answer: D — The private members can be accessed by public members of the class
The private members are accessible within the class. There is no restriction on use of private members by public or protected members. All the members can access the private member functions of the class.