SLB interview question

what's the virtual function?

Interview Answer

Anonymous

15 June 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