News

Sorting can be a little trickier when it comes to sorting strings. Using the "Comparable" interface, Java programmers can extend alphabetizing capabilities to most any object.
If you want to take advantage of sorting methods in Java, you'll need to implement the Comparable interface. Written by David Petersheim, Contributor Feb. 17, 2005, 8:00 a.m. PT ...