Visual Studio .NET 2003
The virtual keyword declares a virtual function or a virtual base class.
virtual member-function-declarator virtual [access-specifier] base-class-name
The elements of a virtual declaration are as follows:
- Declares a member function.
- Defines the level of access to the base class. Can appear before or after the virtual keyword.
- Identifies a previously declared class type.