Question d’entretien chez Kilmist Corp

difference between interface and abstract class

Réponse à la question d'entretien

Utilisateur anonyme

7 mai 2016

Interface is type in which an abstract member is declared and is implemented in child class. The class under which we declare an abstract method is called abstract class and this get accessed in child class. The main difference is the interface contains on an abstract method where as abstract class contains an abstract as well as other method also.

1