摘要:对象封装 对象的比较 BigDecimal d = new BigDecimal("0.1"); BigDecimal e = new BigDecimal("0.1"); BigDecimal f = e; System.out.println(d == e);//不是同一对象,所以为false
阅读全文
posted @ 2017-12-31 15:49
posted @ 2017-12-31 15:49
posted @ 2017-12-24 17:09
posted @ 2017-12-10 16:24
posted @ 2017-12-03 19:48