interviews.dotnetthread.com

↑ Grab this Headline Animator

Wednesday, June 25, 2008

What is the diffeernce between Overload and Override?

Overload is the another version of the same function into the class. There can be different parameters, return type in overload functions (in brief: Same function and different parameters).

Override is entirely overriding the base class function and creating our own version in the child class. Base class and child class function name and return type should be same.

Submit this story to DotNetKicks

No comments:

Post a Comment

Post your comments/questions/feedback for this Article.

 

Latest Articles