//然后Integer与Long封装类型的变量能直接比较的原因是,这两个变量比较时,内部自动转化为值比较,即基本类型比较了;
Double a = 2.0;
Double b = 2.0;
System.out.println(a==b); //false
System.out.println(a.doubleValue() == b.doubleValue());//true
double aa= 1;
double bb=1;
System.out.println(aa==bb);//true
Float c = 1f;
Float d = 1f;
System.out.println(c==d); //false
System.out.println(c.floatValue() == d.floatValue());//true
double cc=1;
double dd=1;
System.out.println(cc==dd);//true
Integer e = 1;
Integer f= 1;
System.out.println(e==f);//true
int ee=1;
int ff=1;
System.out.println(ee==ff);//true
Long g = 1l;
Long h= 1l;
System.out.println(g==h);//true
long gg=1;
long hh=1;
System.out.println(gg==hh);//true