ContactUs :

Please send your Questions & Answers or Feedback to "mohan@javabook.org"

How do you sort an ArrayList (or any list) of user-defined objects ?

Create an implementation of the java.lang.Comparable interface that knows how to order your objects and pass it to java.util.Collections.sort(List, Comparator).
Related Posts Plugin for WordPress, Blogger...
Flag Counter