Using public set methods helps provide data integrity if:
a. The instance variables are public.
b. The instance variables are private.
c. The methods perform validity checking.
d. Both b and c.
d. Both b and c.
You might also like to view...
Is it possible to write a function that returns a pointer? What possible problem could the programmer encounter if the address of a function’s local variable (i.e., pointer) was returned to the calling function?
What will be an ideal response?
List the advantages of broadband radio service (BRS).
What will be an ideal response?
A Watch Window displays the value, formula, and location of cells in a separate window
Indicate whether the statement is true or false
Trace the history of system architecture, with particular emphasis on the impact of the personal computer and the Internet. Be sure to include examples.
What will be an ideal response?