Pregunta de entrevista de FreshWorks Studio

What is an interface?

Respuesta de la entrevista

Anónimo

13 ago 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.