Syntax to call main() method inside the main().



class MainDemo
{
public static void main(String args[])
{
System.out.println("Hello World...");
main(new String[] {"John", "Pollard", "Bravo" });
}
}

Comments

Popular posts from this blog