Give two short exam questions (and solutions) about your topic.
Question #1: What are the benefits of Encapsulation?
Solution #1: keeps users out off tools that they should not touch.
It also allows library designer to change the internal implementation
of classes without worrying about how it will affect the user
Question #2: What are the 3 things we should do when designing fields and methods
Solution #2: 1)Avoid special data values 2) The use of constants 3) Minimizing coupling
You may want to include a reference list of helpful resources.
Reference #1: Object Oriented Design & pattern by cay Horstmann