Question d’entretien chez ABC

What is diff between Abstact and virtual

Réponse à la question d'entretien

Utilisateur anonyme

24 sept. 2011

This deals with object oriented programming. An ABSTRACT function within a class HAS NO implementation and must be implemented in any classes that inherit from that class. A VIRTUAL function HAS an implementation in that class but can still be overriden in any classes that inherit from that class.