2016年4月11日
摘要: public class TestString{ public static void main(String[] args){ String str1 = "123"; String str2 = "456"; String str3 = "678"; StringBuilder sb1 = new StringBuild... 阅读全文
posted @ 2016-04-11 17:48 晏过留痕 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1 public class StringTest{ 2 public static void main(String[] args){ 3 String str1 = new String("123"); 4 String str2 = new String("123"); 5 //str1和str2指向不同的内存 6 ... 阅读全文
posted @ 2016-04-11 17:24 晏过留痕 阅读(135) 评论(0) 推荐(0) 编辑