Java Optimum 方法 Java diff string and StringBuffer Java import java.lang.String类 Java Optimum 方法 public class Test { public static void main(String args[]) { String s = "Strings are immutable"; s = s.concat(" all the time"); System.out.println(s); } } Java diff string and StringBuffer Java import java.lang.String类