Question d’entretien chez Infosys

What is the difference between abstract class and interface?

Réponse à la question d'entretien

Utilisateur anonyme

17 nov. 2016

Abstract class and interface both are used to achieve abstraction where we can declare abstract methods. Both cannot be instantiated.