Method overloading is the process of creating multiple methods with the same name.How ever,Each of this methods should be unique cuz compiler will be able to tell the difference.!!!
Using signature it can be solved..!!
Ex:-
public double area_of_circle()
public double area_of_circle(double a)
public double area_of_circle(double a,double b)
Sunday, July 19, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment