“Java Interface”

Mins :
Lang:
Directed By :
In this lesson, you will learn how to work with Java Interface. An interface is a reference type in Java, it is similar to class, it is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface. Along with abstract methods an interface may also contain constants, default methods, static methods, and nested types.