Which of the following statements is false?

a. Always try to localize the effects of changes to a class’ data members by accessing and manipulating the data members through their set and get functions.
b. Services useful to the client should typically be provided in the class’ private interface.
Change is the rule rather than the exception. You should anticipate that your code will be modified.
c. Providing public set and get functions does allow clients of the class to access hidden data, but only indirectly.


b. Services useful to the client should typically be provided in the class’ private interface.
Change is the rule rather than the exception. You should anticipate that your code will be modified.

Computer Science & Information Technology

You might also like to view...

A while loop tests its condition before performing its statements making it a(n) ____ loop.

A. pretest B. posttest C. failsafe D. infinite

Computer Science & Information Technology

The ________ sort usually performs fewer exchanges than the ________ sort.

A) bubble, selection B) selection, bubble C) binary, linear D) linear, binary E) linear, bubble

Computer Science & Information Technology

A style can store any type of character or paragraph formatting

Indicate whether the statement is true or false

Computer Science & Information Technology

FIGURE 9-1Figure 9-1 above shows an example of a(n) ____ list.

A. ordered B. unordered C. definition D. nested

Computer Science & Information Technology