How is Comparable different from Comparator?
Also what how do we modify the instances of the class we implement Comparable in?
What do we do when we implement Comparator ?
Also what how do we modify the instances of the class we implement Comparable in?
What do we do when we implement Comparator ?