Question d’entretien chez McKesson

What is the difference between an abstract class and an interface

Réponse à la question d'entretien

Utilisateur anonyme

13 juil. 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