<P> An interface in the Java programming language is an abstract type that is used to specify a behavior that classes must implement . They are similar to protocols . Interfaces are declared using the interface keyword, and may only contain method signature and constant declarations (variable declarations that are declared to be both static and final). All methods of an Interface do not contain implementation (method bodies) as of all versions below Java 8 . Starting with Java 8, default and static methods may have implementation in the interface definition . </P> <P> Interfaces cannot be instantiated, but rather are implemented . A class that implements an interface must implement all of the non-default methods described in the interface, or be an abstract class . Object references in Java may be specified to be of an interface type; in each case, they must either be null, or be bound to an object that implements the interface . </P>

What is interface and its use in java
find me the text answering this question