Pergunta de entrevista da empresa SLB

what's the virtual function?

Resposta da entrevista

Sigiloso

15 de jun. de 2016

Simply said, those who are modified by the virtual key member functions, is a virtual function. Virtual function, use the terminology to explain is to achieve polymorphism, polymorphism is the interface and implementation are separated; with the image of the language to explain is to realize the common methods, but because of individual differences and the use of different strategies