摘要:
/* * DATE */ // //创建日期对象// Date d = new Date();// System.out.println(d.getTime());//以毫秒计算返回当前系统 从1970-01-01日00:00开始// // //使用默认方式构建SimpleDateFormat// 阅读全文
摘要:
int[] a = new int[6]; int 表示数组里面存放数据的数据类型 [] 表示数组 a 表示数组名 new 新开辟一个堆内存空间 new int[] 新开辟的类型控件为int 类型的数组 6 表示数组长度 = 将新开辟的空间赋予数组a 数组定义格式: 动态初始化 元素类型[] 数组名 阅读全文