What is the difference between newLine() and carriage return (\"\\r\")? Which one is best to use?
newLine()
File f = new File(strFileGenLoc); BufferedWrit
On Windows platforms, the line separator is CRLF (carriage return / line feed), which is "\r\n". On Unix platforms, it's just LF, "\n". Traditionally, on Apple platforms it has been just CR, "\r".