摘要: import java.util.Arrays; public class test { public static void main(String[] args) { int[] arr = { 1, 2, 3, 4, 5 }; // for循环 for (int i = 0; i < arr. 阅读全文
posted @ 2018-09-03 18:01 wuyueping 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Date: Date( ) : 为当前时间创建一个Date对象 Date( elapseTime: long ) : 为一个从格林威治时间1970年1月1日至今流逝的以毫秒为单位计算的给定时间创建一个Date对象 toString( ) : 返回一个日期和时间的字符串表示 getTime( ): l 阅读全文
posted @ 2018-09-03 16:02 wuyueping 阅读(168) 评论(0) 推荐(0) 编辑