ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Which error will be produced if private members are accessed?
Correct Answer: A — Can’t access private message
The private members access from outside the class produce an error. The error states that the code at some line can’t access the private members. And denies the access terminating the program.