Multiple Choice
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
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q13: Composition is sometimes referred to as a(n)
Q14: Instance variables declared final do not or
Q15: The_ of a class are also called
Q16: Which statement is false?<br>A) An enum declaration
Q17: A final field should also be declared
Q19: BigDecimal gives you control over how values
Q20: The static method _ of class String
Q21: What happens when this is used in
Q22: Which of the following is false?<br>A) Method
Q23: When must a program explicitly use the