Pergunta de entrevista da empresa Northrop Grumman

What is the difference between an interface and an abstract class?

Resposta da entrevista

Sigiloso

18 de dez. de 2020

Interfaces are used as a way of providing multiple inheritance. Classes, abstract or otherwise, enforce single inheritance.