Use `StringBuilder`, `StringBuffer` is the slower, older version that offers thread synchronization when more than one thread writes into the same buffer.