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.

c. Any client code can see a private data member and do whatever it wants with it, including setting it to an invalid
value.

Computer Science & Information Technology

You might also like to view...

How does the NIST 800-53 organize control measures into groups?

A. By security control baseline B. Through configuration control C. Via the FIPS 200 standard's grouping mechanism D. Through project management processes

Computer Science & Information Technology

A(n) ____________ is a logical container in a program that holds methods (as well as other program elements).

a. event b. namespace c. queue d. class

Computer Science & Information Technology