- 博客(1)
- 收藏
- 关注
原创 关于Integer的自动装箱与自动拆箱
关于Integer的自动装箱与自动拆箱 自动装箱 Integer x1 = 36和Integer n1 = new Integer(36)有什么区别?我们尝试运行下面代码看看会是什么结果: public class Int { public static void main(String[] args) { Integer x1 = 36; Integer x2 = 36; boolean r1 = x1==x2; System.out
2022-03-26 17:34:31
1832
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅