What is the diffeernce between Overload and Override?

 Posted by Poster on 6/5/2008 | Category: .NET Framework Interview questions | Views: 6512

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.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response