摘要: calendar:protected ..其他包中的类不可以访问calendar a = calendar.getInstance();获取当前时间,输出值一堆,看不懂c.get(calendar.YEAR)年份c.get(calendar.MONTH+1)月份0-11c.get(calendar. 阅读全文
posted @ 2017-07-19 18:11 爵灬色 阅读(111) 评论(0) 推荐(0) 编辑
摘要: math:e,PI没有构造方法方法:double math.abc(a); 计算绝对值double math.cbrt(a);计算立方根double math.sqrt(a);计算平方根double math.pow(x,y);计算x^ydouble math.hypot(x,y);计算sqrt(x 阅读全文
posted @ 2017-07-19 17:38 爵灬色 阅读(122) 评论(0) 推荐(0) 编辑