StringBuffer 可以對字符串進行修改 StringBuffer buf = new StringBuffer() buf.chatAt() buf.setCharAt() Math.random() Math.ceil()