经典java题目

来源:互联网 发布:linux db2创建schema 编辑:程序博客网 时间:2024/05/16 12:52
http://yangshangchuan.iteye.com/blog/2354308
                String str1="hello";String str2="he"+new String("llo");System.out.println(str1==str2);//false


int i=Integer.MAX_VALUE;int j=i+1;System.out.println(i);//2147483647System.out.println(j);//-2147483648boolean k=j<i;System.out.println(k);//true
0 0
原创粉丝点击