hi, i would like to ask how can i format the data i will append in a text file, like when appending new data it will be in the next line of the file?, my code below concats the first and second text i inserted, thank you very much!
BufferedWriter out = new BufferedWriter(new FileWriter("guestbook.txt", true));
out.write("First LINE");
out.write("Second LINE");
out.close();
} catch (IOException e) {
BufferedWriter out = new BufferedWriter(new FileWriter("guestbook.txt", true));
out.write("First LINE");
out.write("Second LINE");
out.close();
} catch (IOException e) {