Question d’entretien chez Amdocs

Difference between Interface and Abstract class

Réponse à la question d'entretien

Utilisateur anonyme

10 févr. 2020

Interface is a contract between a class and interface to abide by the rules which is why it is mandatory for all the classes implementing the interface to override all the methods. Abstract classes are classes whose object can't be instantiated.