Question d’entretien chez FreshWorks Studio

What is an interface?

Réponse à la question d'entretien

Utilisateur anonyme

13 août 2018

An interface is like a contract. It contains method definitions. If a class were to implement that interface, it would "sign" the contract and have to contain the methods that were defined in the interface.