Comparator and Comparable interface

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
Experienced poster
Posts: 136
Joined: Fri Apr 15, 2005 3:47 pm
Location: Singapore

Comparator and Comparable interface

Post by jan_holmes »

I wonder what are the differences between Comparator and Comparable interfaces ?? (of course besides the implementation :P) And what are the advantages and disadvantages of each interface ? Thx...

Post Reply

Return to “Java”