Java注释type2


Java注释type2

/**

   * This is a documentation comment.

   * This is my first Java program.

   * This will print 'Hello World' as the output

   * This is an example of multi-line comments.

*/

public class MyFirstJavaProgram {

   public static void main(String[] args) {

      /* This is an example of multi line comment. */

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

   }

}