What will happen if we do not ?We may get an Exception which is unrelatedWe may get an incorrect resultWe may create an object which will fail at a totally different and unrelated time
What should be checked ?ConstructorsPublic, protected, package methods
When not to check ?If the check is very expensive a method which expects a sorted listIf the check will be done implicitly in the computation sorting automatically checks for comparable instancesPossible to omit checks in private methods
A particular slide catching your eye?
Clipping is a handy way to collect important slides you want to go back to later.