Multiple Choice
When applied to instance variables, the ________________ visibility modifier enforces encapsulation.
A) static
B) final
C) public
D) private
E) none of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q17: In a class that has variables called
Q18: A(n) _ is a step-by-step process for
Q19: Write a method called randomInRange that takes
Q20: All methods (with the exception of constructors)
Q21: A _ variable is shared among all
Q23: Write a method called threeOfAKind that takes
Q24: If a service is so complex that
Q25: Variables that are declared as static are
Q26: The _ reference always refers to the
Q27: A _ diagram helps us visualize the