Start free trial
Take Naologic for a spin today, no credit card needed and no obligations.
Start free trial

Interface - WHAT IS interface and why it is used?


Achieving complete abstraction is the goal of its application. Although multiple inheritance is not supported by classes in Java, it is possible to achieve it through the use of interfaces. Loose coupling is another application for it. Abstraction is accomplished by the usage of interfaces.