FileDocCategorySizeDatePackage
MainNotSpecial.javaAPI DocExample626Sat Nov 25 12:55:44 GMT 2000None

MainNotSpecial

public class MainNotSpecial extends Object
If main is not special to the compiler, you should be able to write it any way you like. And you can. But the java command only knows to call one particular form, as you can see by compiling and running this program.

Fields Summary
Constructors Summary
Methods Summary
public static voidmain()

		System.out.println("In no-argument main");
	
public static voidmain(java.lang.String[] argv)

		System.out.println("In String[] main");
	
public static voidmain(int argc, java.lang.String[] argv)

		System.out.println("In int,String[] main");
	
public static voidmain(java.lang.String argv)

		System.out.println("In String main");