Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. A virtual class
is an inner class that can be overridden by subclasses of the outer
class. Virtual Classes are inner classes of another outer class, which
behave like virtual functions. This means they can be overridden in a
subclass of the outer class, and the run time type of a virtual class
depends on the run time type of an object of the outer class. (Just like
the run time type of an object decides which virtual function should be
used.) Like this a run time instance type of the outer class object not
only decides on the polymorphic type of his own type object, but also on
a whole family tree of virtual class members.