Question d’entretien chez Nixon

What is Interfaces

Réponse à la question d'entretien

Utilisateur anonyme

25 sept. 2017

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.