Iron Group interview question

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

Interview Answer

Anonymous

21 Nov 2020

An abstract class is where you can create functionality that subclasses can inherit or override. An interface is just the definition of functionality. You can only inherit from one abstract class. But you can implement multiple interfaces.