how to skip a line with a filewriter java

Solutions on MaxInterview for how to skip a line with a filewriter java by the best coders in the world

showing results for - "how to skip a line with a filewriter java"
Frederick
24 Jul 2020
1FileWriter() writer = new FileWriter("example.txt");
2writer.write("First Line" + "\r\n"); //\r\n creates a new line
3writer.write("Second Line");