employer cover photo
employer logo
employer logo

Daffodil Software

Is this your company?

Daffodil Software Interview Question

What is Interface in Java

Interview Answer

Anonymous

Oct 5, 2024

In Java, an interface is a reference type, similar to a class, that is used to define abstract methods, which are methods without implementations. An interface represents a contract or a blueprint for a class that implements it. A class that implements an interface must provide concrete implementations for all of the methods declared in the interface, unless the class itself is abstract.