Question d’entretien chez Northrop Grumman

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

Réponse à la question d'entretien

Utilisateur anonyme

18 déc. 2020

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