java

Interfaces in Java

Interface is pure-template class because it holds abstract method (no need to use abstract keyword) as well as final data. The Interface can be define using interface keyword. There is no individual meaning of interface class means we cannot create abject of the interface class. The importance of interface class with normal class by inherit it. This proves the concept of multiple inheritance because multiple inheritance can be inherited with a single class. Interface provides implements keyword for inheriting it with class. Interface is a always be public scope.