Pregunta de entrevista de Clikon Technologies

What is interface and use of it in Java?

Respuesta de la entrevista

Anónimo

1 oct 2021

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.