News

Comparable Interface In Java, an "interface" is an abstract base class that only serves the purpose of a template for other classes.
If you want to take advantage of sorting methods in Java, you'll need to implement the Comparable interface.