Interfaces

Objective #1: Describe an interface.

Objective #2: Understand how to use interfaces.

Objective #3: Understand the role of the Comparable interface & be able to implement the compareTo method. AS OF 2016-17, THE Comparable INTERFACE IS NOT ON THE AP EXAM HOWEVER YOU MUST KNOW HOW TO USE THE compareTo METHOD ESPECIALLY WITH STRINGS.

Objective #4: Use the compareTo method in client programs. Note that you will probably only have to use the compareTo method from the String class on the AP exam.

Objective #5: Use an interface to take advantage of polymorphism.

Objective #6: Convert an interface reference to a class type.

Objective #7: Explain the usefulness of interfaces.