1StringBuilder stringBuilder = new StringBuilder();
2
3stringBuilder.append("string");
4
5System.out.println("String = " + stringBuilder.toString());
1StringBuilder str = new StringBuilder("ABCD");
2// set char at index 2 to 'L'
3str.setCharAt(2, 'L');