Java Classes: concrete types, instantiated by objects
Java Interfaces: abstract types, implemented by one or more classes
- Always public
- Method declarations only
- No state
- No method bodies
- Cannot construct objects of an interface
- Useless unless there are classes that implement them
Implementing Interfaces: To implement an interface, a Java class must
- Say it plans to implement the interface
- Implement all the methods specified in the interface