摘要: 1. 判断是否是奇数: public static boolean isOdd(int i) { return i %2 != 0 ; } 2. System.out.println(2.0 - 1.1); 输出:0.89999999 99999999 (Double型的) System.out.p 阅读全文
posted @ 2017-07-09 02:22 zhoudingzhao 阅读(317) 评论(0) 推荐(0) 编辑