interface extends comparable
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1440134/java-what-is-the-difference-between-implementing-comparable-and-comparator">Java: What is the difference between implementing Comparable and Comparator?</a>  </p>
</blockquote>



<p>Difference between comparable interface and comparator interface and where to use?example?</p>
