码迷,mamicode.com
首页 > 编程语言 > 详细

Thinking in Java-Chapter 2-创建第一个Java程序

时间:2018-05-01 20:37:49      阅读:139      评论:0      收藏:0      [点我收藏+]

标签:public   ane   str   thinking   java程序   过多   lod   注释   param   

 1 import java.util.*;
 2 /**The first Thinking in Java example program.
 3  * Displays a string and today‘s date.
 4  * @author 12208
 5  * @author http://www.cnblogs.com/liyifaner/
 6 */
 7 public class HelloDate {
 8     /**Entry point to class & application.
 9      * @param args array of string arguments
10      * @throws exceptions No exceptions thrown
11     */
12     public static void main(String[] args) {
13         System.out.println("Hello,it‘s:"+new Date());
14     }
15 }/*Output:(55% match)
16 Hello,it‘s:Sun Apr 29 19:25:08 CST 2018
17 *///:~

以后可能不会写过多的注释了。

Thinking in Java-Chapter 2-创建第一个Java程序

标签:public   ane   str   thinking   java程序   过多   lod   注释   param   

原文地址:https://www.cnblogs.com/liyifaner/p/8976861.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!