INTERFACE
Defining an Interface, Implementing Interfaces,Accessing Implementations Through Interface References,Partial Implementations
An interface is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface.An interface is not a class. Writing an interface is similar to writing a class, but they are two different concepts. A class describes the attributes and behaviors of an object. An interface contains behaviors that a class implements.