Types, Classes, Interfaces
Classes and Interfaces
String Example
Comparable Interface
String Class
Notes:
String class
says that it
implements Comparable<String>
implements the
compareTo
method (the only method in the Comparable interface)
Previous Slide
Next Slide
Alyce Brady, Kalamazoo College