SWE 619 Quiz Guide 10
Fall 2011
Bloch Chapters 3 and 4 are the focus of quiz 10.
In particular, you should be able to
-
Identify typical problems in
implementations of
equals(),
hashcode(),
or
clone().
-
You should understand how to use composition
to overcome the problems with
equals().
-
You should understand how to minimize mutability.
-
You should understand the design issues involved
with deciding to allow inheritance.