Finished code example UseStringBuffer.java