Home > DeveloperSection > Interviews > What is Method Overloading?

Posted on    October-16-2010 12:00 AM

 C# C# 
 1 Answer(s)
  1321  View(s)
Rate this:

Pushpendra Singh

Total Post:241

Posted on    November-01-2010 12:00 AM

Method overloading means having two or more methods with the same name but different signatures in the same scope. Compiler automatically select the most appropriate method based on the parameter supplied.

public class multiplynumber


public int multiply(int x, int y)


return x * y;


public int multiply(int x, int y, int z)


return x*y*z;



Don't want to miss updates? Please click the below button!

Follow MindStick