Java入门1dayCode

 1 public class HelloWorld {
 2     /*
 3      * 多行注释方式
 4      * main()方法: java语言的入口方法(函数)
 5      */
 6     public static void main(String[] args){
 7         //单行注释 
 8         //打印输出 hello world
 9         System.out.println("hello world!"); 
10     }
11 }
前端技术群:263240563
原文地址:https://www.cnblogs.com/riven952465/p/5313702.html