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

Showing posts with label Overloading of Main in Java. Show all posts
Showing posts with label Overloading of Main in Java. Show all posts

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");
}
}