When a class implements an interface, you can think of the class as signing a contract, agreeing to perform the specific behaviors of the interface . If a class does not perform all the behaviors of the interface, the class must declare itself as abstract. A class uses the implements keyword to implement an interface.