Pergunta de entrevista da empresa FreshWorks Studio

What is an interface?

Resposta da entrevista

Sigiloso

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