Riven952465

生活不止眼前的苟且,还有未来的苟且。

导航

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 }

 

posted on 2016-03-23 23:31  Riven952465  阅读(248)  评论(0编辑  收藏  举报