8.8.1.Java's StringBuffer and StringBuilder classes represent strings that can be dynamically modified.
public class MainClass{ public static void main(String[] argv){
StringBuffer sb = new StringBuffer();
sb.append(1);
sb.append("asdf");
System.out.println(sb.toString());
}
}
8.8.StringBuffer
8.8.1.
Java's StringBuffer and StringBuilder classes represent strings that can be dynamically modified.