java skip lines while reading file code example
Example: how to skip a line with a filewriter java
FileWriter() writer = new FileWriter("example.txt");
writer.write("First Line" + "\r\n"); //\r\n creates a new line
writer.write("Second Line");
FileWriter() writer = new FileWriter("example.txt");
writer.write("First Line" + "\r\n"); //\r\n creates a new line
writer.write("Second Line");