« Back to Software Engineering (NCCIA)
A getter that returns a copy of an internal list, rather than the list itself, supports encapsulation by:
Correct Answer: B. Preventing callers from modifying internal state directly
« Back to Software Engineering (NCCIA)
Correct Answer: B. Preventing callers from modifying internal state directly