摘要: 问题一:String str1 = "abc";String str2 = "abc";System.out.println(str1==str2); //true问题二:String str1 =new String ("abc");String str2 =new String ("abc");System.out.println(str1==str2); // false问题三:String s1 = "ja";String s2 = "va";String s3 = 阅读全文
posted @ 2014-04-02 14:15 侯志凯 阅读(2660) 评论(0) 推荐(1) 编辑