An interface defines the set of methods (or messages) that an instance of a class with that interface can respond to in object-oriented programming.