Wednesday, August 15, 2007

Difference between overloading and overriding

Overloading and overriding explains how a member function is bound to its object. Both kind of functions are dynamically bound to its object. Overloaded functions are horizontally bound while overridden functions are vertically bound. Horizontally and vertically is related to the inheritance hierarchy.