摘要: 我们知道,Integer是int的封装类。我们可以将int赋值给Integer,这个过程叫做装箱,装箱实际调用的是Integer.valueOf(int)方法。 那么,你知道Integer a1 = 100; Integer a2 = 100; a1 == a2的结果是true or false吗? 阅读全文
posted @ 2020-12-28 17:32 能力与作品 阅读(93) 评论(0) 推荐(0) 编辑