PPT Slide
Defining the abstract class and implementing the sorting algorithm was
The Java package java.util provides a class, Arrays, which defines and
implements many useful operations on arrays including
sorting and searching. Please look at the material on Arrays at
http://java.sun.com/products/jdk/1.2/docs/api/java/util/
Arrays.html#sort(java.lang.Object[])
Take a look at the several methods defined in Arrays including the method
public void sort(Object[] O) at
http://java.sun.com/products/jdk/1.2/docs/api/java/util/
Arrays.html#sort(java.lang.Object[])
Then click on the link to the interface Comparable which we have already
http://java.sun.com/products/jdk/1.2/docs/api/java/lang/Comparable.html