摘要: 常用方法 public static void main(String[] args) { List list1=new ArrayList(); list1.add(11); list1.add("fdfsf"); //输出 1 System.out.println(list1); //输出 2 阅读全文
posted @ 2021-11-10 15:43 kingwzun 阅读(132) 评论(0) 推荐(0) 编辑
摘要: JAVA.long.String类 JAVA.util.Date类 构造方法 Date();//自动获取当前时间 Date(long date);//date为当前时间距 1970 年 1 月 1 日之间的毫秒数 常用方法 getTime返回当前时间距 1970 年 1 月 1 日之间的毫秒数 日期 阅读全文
posted @ 2021-11-10 15:03 kingwzun 阅读(24) 评论(0) 推荐(0) 编辑