问题是这样的:
Integer i1 = 59;
int i2 = 59;
Integer i3 = Integer.valueOf(59);
Integer i4 = new Integer(59);
System.out.println(i1==i2);
System.out.println(i1==i3);
System.out.println(i3==i4);
System.out.println(i2==i4);
问执行完这几条语句后打印出来的结果
分析:
https://blog.csdn.net/xiaojin21cen/article/details/79832173
https://blog.csdn.net/weixin_42476601/article/details/88663025