public static void Main (string[] args) "String args[]" Also
1) Public: The common permissions are the largest and can be accessed under any circumstances.
Cause: To ensure that the Java Virtual machine can access the main method under any circumstances.
2) Static: static. Static can make it easier for a Java virtual machine to call a function. You do not need to call with an object.
Not applicable to static modifiers:
1. You need to create an object call.
2.java virtual machines do not know how to create objects, because some of the objects that are created require parameters,
3) void: No return value returned. Because the return value is for the Java Virtual machine, and the Java Virtual machine uses this value is useless, do not.
4) Main: function name. (Note: Main is not a keyword but a special function name for Java virtual function recognition.) )
5) args (arguments): The reason is that some programs require parameters to start, but generally use Scanner scan = new Scanner (system.in);
Java main function