Overriding Virtual Functions

In reply to haithamx15:

I think you are mixing two different concepts. Method overloading would be defining getArea() more than once within the same class with different prototypes. But with virtual method, the prototype is fixed in the Base class. You call a virtual method using a base Base class variable, but you don’t know if the variable hold a handle to the base or extended class object.