Solved

Which of the Following Statements Is False

Question 23

Multiple Choice

Which of the following statements is false?


A) Through the use of set and get member functions, you can validate attempted modifications to private data and control how that data is presented to the caller.
B) A client of a class is any other code that calls the class's member functions.
C) Any client code can see a private data member and do whatever it wants with it, including setting it to an invalid value.
D) Tightly controlling the access to and presentation of private data can greatly reduce errors, while increasing the usability, robustness and security of your programs.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions