A contract that defines capabilities without implementation.
An interface in Java specifies a set of methods that a class must implement. It allows for the definition of what a class can do, without dictating how it should do it. For example, an interface 'PaymentMethod' might declare a method 'processPayment()'. Any class like 'CreditCardPayment' or 'PayPalPayment' implementing this interface must provide the concrete implementation of 'processPayment()'.
Additional Notes
How would you explain an interface in a Java interview?