摘要:
//效率测试 public class TestString2 { public static void main(String[]args){ /**使用String进行字符串的拼接*/ String str8 = ""; long num1 = Runtime.getRuntime().free 阅读全文
摘要:
1 public class TestString { 2 public static void main(String[]args){ 3 String str = "abc"; 4 /**StringBuilder*/ 5 StringBuilder sb = new StringBuilder 阅读全文