interface in java
An interface is a special kind of class that cannot be instantiated. The main idea of an interface is declaring functionality. Interfaces help to abstract from specific classes and emphasize the functionality. It makes software design more reusable and clean Opposite to a class, an interface can extend several interfaces. A class can implement multiple interfaces.