Two Laptop Bag
The moose likes Beginning Java and the fly likes Comparator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Comparator" Watch "Comparator" New topic


Arun raghvan
Ranch Hand

Joined: Aug 22, 2010
Posts: 75
Can any well tell me the difference or tell me what is Comparator with respect to Comparable! Help me out

Unable to understand.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

That is a good question you're asking. Your not the first with that question so if you would have used the search you would have found this and more

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
I agree. Here's the link:
subject: Comparator
jQuery in Action, 3rd edition