employer cover photo
employer logo

Question d’entretien chez VMware

why do u need abstract functions when you have overloading

Réponse à la question d'entretien

Utilisateur anonyme

12 nov. 2014

Abstract classes can have both concrete as well as abstract method. So if we want to enforce subclass to implement the functionality of abstract methods before using the concrete methods of the Abstract superclass we have to use Abstract function. This cannot be done in function overloading .

1