What\'s the difference between a derived object and a base object in c++,
especially, when there is a virtual function in the class.
Does the derived object
A base object is one from which others are derived. Typically it'll have some virtual methods (or even pure virtual) that subclasses can override to specialize.
A subclass of a base object is known as a derived object.