This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Let's say you have a class called Weight, and you want to compare objects of that class (e.g. for sorting). You have two choices. 1. Weight can implement Comparable. This means that the Weight class has some default ordering scheme that will be used by any code that cares about ordering (e.g. java.util collections). 2. Some class, not necessarily Weight, can implement Comparator. This means that you may have many ways of ordering Weights. For example, you can have an IncreasingWeightOrder, DecreasingWeightOrder, etc. You pass objects that implement the interface in various ways to get the effect you want. If you don't pass one of those objects, then the comparator has no impact on anything.