Question d’entretien chez NSF

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

Réponse à la question d'entretien

Utilisateur anonyme

13 juin 2015

For an abstract class, you can define methods that can be used by the extending class. For an interface, all you define is the methods that must be implemented. (I actually had to create an abstract class after the interview, which was funny.)