Pergunta de entrevista da empresa McKesson

What is the difference between an abstract class and an interface

Resposta da entrevista

Sigiloso

13 de jul. de 2017

An interface is class that has definitions but no implementation, so you can inherit from it and implement its methods. An abstract class, like an interface has definitions and can't be instantiated, but also can have implementations that can be used by its children