First page Back Continue Last page Overview Graphics
The main Method
public static void main(String[] args) {
public indicates that the main method can be called by any object.
static indicates that the main method is a class method.
void indicates that the main method doesn't return any value.
Each String in the array is called a command-line argument.
Notes: