Each Java application should contain a main method whose signature looks like this:
public static void main(String[] args)
How the main method is called
The main Java method is similar to the main function in C and C ++. When the Java interpreter runs the application (by calling it in the application control class), it starts by calling the main method of the class. Then the main method calls all the other methods needed to launch your application.
Java , , , :
In class NoMain: void main(String argv[]) is not defined
, : String.
public static void main(String[] args)
, . . , . , , :
-descending
http://journals.ecs.soton.ac.uk/java/tutorial/getStarted/application/main.html