Northrop Grumman Interview Question

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

Interview Answer

Anonymous

Dec 18, 2020

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