In Java objects can implement an interface. Interfaces are like classes, but have no implementation. Interfaces support inheritance, even multiple inheritance.
Interfaces define subtypes. Inheritance defines subclasses.