Do understand that the implementation of an interface, then all the methods in the interface also have to be implemented , that is coded in the class that implements the interface. If not all the methods in the interface are coded in the class, the class will then be abstract.
If we implement the Comparator interface as it has (according to API) two methods: compare () and equals (). According to the book "Programming in Java", we dont need to code both methods. In the book it is a class witch implements Comparator, but they implement/code only the compare method, and they do not implement/code the equals method. I thought this class then will be abstract, but this is not so.
Why do we not need to code both methodes in the Comparator interface?