I know what it does and how to use it, what I'm confused by is the logic behind it?
public int compareTo(String a, String B)/>/> {
return b.compareTo(a);
}
What is the mechanism behind this line and how it reverses a list?
Any information will be greatly appreciated.

New Topic/Question
Reply




MultiQuote




|