4
Reply

What is Method overloading?

siva

siva

Jul 29, 2006
4.1k
0

    Methods with same name and different siganture's are called as overloading

    August 09, 2006
    0

    Methos Overloading is when you have the same name of the method but different signature.
    The signature becomes different when the number of the parameters are different or methods have different types or different number of parameters.
    For example:
    public void method1(string param1,...)
    public void method1(int param2,string param1, ...)

    farshad
    July 31, 2006
    0

    Method overloading occurs when a class contains two methods with the same name, but different signatures.

    siva
    July 31, 2006
    0

    Method overloading is when u add keyword like public or private to codes.