difference between newLine() and carriage return("\r")
<p>What is the difference between <code>newLine()</code> and carriage return ("\r")?
Which one is best to use?</p>

<pre><code>      File f = new File(strFileGenLoc);
      BufferedWriter bw = new BufferedWriter(new FileWriter(f, false));
      rs = stmt.executeQuery("select * from jpdata");
     while ( rs.next() ) {
     bw.write(rs.getString(1)==null? "":rs.getString(1));
       bw.newLine();
      }
</code></pre>
