Pass true as a second argument to FileWriter to turn on "append" mode. fout = new FileWriter("filename.txt", true);.
確定! 回上一頁