1.数据类型的最值
>Integer.MAX_VALUE Integer.MIN_VALUE;
>Long.MAX_VALUE Long.MIN_VALUE;
>Double.MAX_VALUE Dboule.MIN_VALUE;
2.字符转大小写
>Character.toUpperCase('x');
>Character.toLowerCase('x');
3.整数转进制
>Integer.toBinaryString(int i);
>Integer.toHexString(int i);
>Integer.toOctalString(int i);
4.比较的方法
>Double.compare(double d1,double d2);
>Integer.compare(int x,int y);
int a=1;
int b=1;
System.out.println(a==b);//true
Integer c=1;
Integer d=1;
System.out.println(c==d);//false