This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes difference between Comparator and Comparable interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "difference between Comparator and Comparable interface " Watch "difference between Comparator and Comparable interface " New topic
Author

difference between Comparator and Comparable interface

Supraja Kannaiyan
Ranch Hand

Joined: Mar 09, 2007
Posts: 41
Wat is the difference between Comparator and Comparable interface in Java
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
The javadocs for both interfaces do not look all that similar; what do you think the difference is?
Atul Sawant
Ranch Hand

Joined: Jul 06, 2006
Posts: 304
Please do not post in wrong forum.

Moderator: Kindly shift this thread to appropriate forum.


Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
 
Have you checked out Aspose?
 
subject: difference between Comparator and Comparable interface
 
It's not a secret anymore!