第一个Java程序

Python/Java学习交流群:369606713


第一个Java程序

public class MyFirstJavaProgram {



   /* This is my first java program.

    * This will print 'Hello World' as the output

    */



   public static void main(String []args) {

      System.out.println("Hello World"); // prints Hello World

   }

}