how to initialize main in java

Java
public static void main(String args[]) {
}
Source

Also in Java: