Overriding is the process of 'replacement' of methods ie function of base class is redefined in the derived class.
Overloading refers to functions with same name but different definitions and parameters ie different type and/or number of arguments.
about overloading it is cleared to me that
in overloading we can use the same function but with different signatures(arguments) and in overriding function of base class is redefined in the derived class
overloading is a static and compile time binding and overiding is dynamic and run time binding
but what does it means..............
***overloading is compile time polymorphism and overiding is run time polymorphism ???
poly means many and morphism means forms which means many forms and overloading deals with many methods in the same class but with same name and different argument so i am connecting polymorphism with overloading ..and overloading is a compile time binding
its troubling me alot