为什么Integer num03 = 250; Integer num04 = 250;两个数相比较返回值是false?
上代码(●’◡’●):
public class Demo {
public static void main(String[] args) {
Integer num01 = 50 ;
Integer num02 = 50 ;
Integer num03 = 250;
Integer num04 = 250;
Double num05 = 1.0;
Double num06 = 1.0;
原创
2020-11-04 00:49:13 ·
137 阅读 ·
1 评论