int a=0;
Integer b=0;
Integer c=new Integer(0);
Integer d=new Integer(0);
System.out.println(a==b);
System.out.println(a==c);
System.out.println(a==d);
System.out.println(b==c);
System.out.println(b==d);
System.out.println(c==d);
为什么后面3个为false,求大神解答一下 |
|