Get Some Free Products at your Door Step. Just feed ur Address in dis Link...!!

Tuesday, November 8, 2011

Overloading of Main in Java

public class mainOverload
{
public static void main(String a[])
{
System.out.println("hi");
mainOverload ov = new mainOverload();
ov.main(1);
}
public static void main(int a)
{
System.out.println("hello");
}
}

No comments:

Post a Comment