How-to articles, tricks, and solutions about EOL
How do I get a platform-dependent new line character?
To get a platform-dependent new line character in Java, you can use the System.lineSeparator() method.