C++ examples for Class:Virtual Function
Click the following links for the tutorial for Class and Virtual Function.