Community

Prefer System.lineSeparator() for Writing System-Dependent Line Separator Strings in Java

(Dustin Marx) JDK 7 saw the introduction of System.lineSeparator(). So why should you use it instead of System.getProperty(”line.separator”)?

/membership]
Read More (Community content)