This question already has an answer here:
- Java: FileWriter: Create a new line 7 answers
Does anyone know how to make a nextline? Usually I use the "\n" characters but when I open the .txt I wrote, I see it didn't went to the nextline. Here's the code:
FileWriter f=new FileWriter(path);
f.write("bla bla \n");
f.write("bla bla");