Solved

Which of the Following Statements Is False

Question 28

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents