Domanda di colloquio di Sheetal

what is interface in java

Risposta di colloquio

Anonimo

18 lug 2024

An interface in Java is a blueprint of a class. It has static constants and abstract methods. The interface in Java is a mechanism to achieve abstraction.