Hi Dipen, here's one main use for an interface:
An interface is used to declare methods without defining their behavior. The behavior is implemented in the classes that implement that interface.
Take, for example, the following interface.
The above interface declares a method (operateOn), but does not define what the method does. The following classes provide different behavior by implementing the interface.