标签:
1.java中1000不等于1000public static void main(String[] args) { Integer a = 1000, b = 1000; System.out.println(a == b);//1 false Integer c = 100, d = 100; System.out.println(c == d);//2 true }以上两个位置1和2输出结果不相同,这是为什么呢?
标签:
原文地址:http://blog.csdn.net/xmtblog/article/details/49943023