Chapter Goals
- To learn how to choose appropriate classes to implement
- To understand the concepts of cohesion and coupling
- To minimize the use of side effects
- To document the responsibilities of methods and their callers
with preconditions and postconditions
- To understand the difference between instance methods and static
methods
- To introduce the concept of static fields
- To understand the scope rules for local variables and instance
fields
- To learn about packages