Domanda di colloquio di Northrop Grumman

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

Risposta di colloquio

Anonimo

18 dic 2020

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