Anonymous

Girish

Jul 23rd, 2005

In overloading you are extending the definition . ie if you over load a operator " + " whith a object then them + can be used to perform the basic additoin and defintion given at the time of operator overload .

The overriding which used in Inheretence . ie if you want to change the definition .

Amit Banerjee

Sep 1st, 2005

Function Overloading is the implementation of static polymorphism where same function name having different defenitions for different uses.

Function overriding is applicable for dynamic polymorphism where where the function name and the definition are same but the function call is decided at the run time according to the type of object reference.

me

Overloading is related to the use of a function or an operator. For example you can use a function for adding some integers as well as floats so this function is overloaded as it works for two different kind of inputs.
Where as overiding is in the case of classes in the object oriented programming or modeling. In this perspective you make a new class interacting with an existing one by implementing some new or restricted feature. For example you click to draw a shape from the menu but in the view class and further in every class (line, rectangle, triangle and circle etc) there exists a specific draw function.

What is the difference between unearned revenue and unbilled receivables?

Asked by: SATHISH

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.