What is interface in Magento2 ? Why use this ? I want to know more detail about interface ?
Main use of Interface is :
A public interface is a set of code that third-party developers can call, implement, or build as a plug-in. Magento guarantees that this code will not change in subsequent releases without a major version change.
You can read the detail information here :