skip a line in a file java code example
Example 1: how to skip a line in java
System.out.println();
Example 2: 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");