public class HelloWorld {
    /* The first Java program * that will print the string Hello World */
    public static void main(String[] args) {
		mains();
        System.out.println("Hello World"); // Print Hello World
    }
	  public static void mains() {
        System.out.println("123"); // Print Hello World}}Copy the code