main method java

Java
public class Test {

public static void main(String[] args){

	System.out.println("Hello World");
	
}
}
public class Test {

static void main(String[] args){

	System.out.println("Hello World");
	
}
}

Source

Also in Java: