It is nearly identical to StringBuffer StringBuilders are not threadsafe. public class MainClass{ public static void main(String[] argv){ StringBuilder sb = new StringBuilder(); sb.append("adf"); System.out.println(sb); } }
adf