Friday 15 March 2013

What is the difference between overloading and overriding?

What is the difference between overloading and overriding? 
Overloading: Overloading is nothing but passing the different parameters to the method. Here method name is same but parameters are different.

Overriding: Overriding is nothing but giving the implementation to the method in the derived class. Here method signature is same.



Blog Author: Vijay Kumar

Go to: Coding Problem Solutions

No comments: