An advanced feature of inheritance is called polymorphism. A polymorphic or virtual function is one that has two or more declarations in classes that are related by inheritance. If the code is compiled for late binding, the function in the lowest derived class will always be called.

See also: abstract virtual function, multiple inheritance, polymorphic base class, RTTI