An interface is a reference type in Java, it is similar to class, it is a collection of abstract methods. An interface in java is a blueprint of a class. It has static constants and abstract methods only. The interface in java is a mechanism to achieve fully abstraction. There …
Read More »