Question d’entretien chez iDirect

2. what is virtual function?

Réponses aux questions d'entretien

Utilisateur anonyme

23 févr. 2011

Virtual function is written with keyword virtual in baseclass and is further overrideden in subclass having same name,return type and signatures..it is basically used to hide base class method from superclass.

2

Utilisateur anonyme

18 nov. 2010

its base class has a function with keyword virtual and assigned value 0.