Pergunta de entrevista da empresa ABC

What is diff between Abstact and virtual

Resposta da entrevista

Sigiloso

24 de set. de 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.