Multiple Choice
Which of the following statements is true?
A) Methods and instance variables can both be either public or private.
B) Information hiding is achieved by restricting access to class members via keyword public.
C) The private members of a class are directly accessible to the clients of a class.
D) None of the above is true.
Correct Answer:

Verified
Correct Answer:
Verified
Q18: Using public set methods helps provide data
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
Q24: Which of the following is false?<br>A) A
Q25: When no access modifier is specified for
Q26: Which of the following class members should
Q27: Which statement is false?<br>A) The actual data