In this post, we see what is an Interface, how to declare, how to use polymorphically. We also see new update about interface in java 8 and why java developer has introduced method body in interface in java 8? What will be the use of method body in interface?
General definition: an interface refers to a common boundary or interconnection between two entities.
For instance, a keyboard in a computer system provides an interface between a human being and the computer. A natural language such as English is an interface between two humans that allows them to exchange their views.
Java definition: Interfaces are like a 100-percent abstract superclass that defines the methods a subclass must support, but not how they must be supported.
Click here to read more