Northrop Grumman interview question

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

Interview Answer

Anonymous

18 Dec 2020

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