title: System.out.println vs PrintWriter
body: <p>Is there a difference in using these two?  When would you use one over the other?</p>
  
  <pre><code>System.out.println(result);
  </code></pre>
  
  <p>versus</p>
  
  <pre><code>PrintWriter out = new PrintWriter(System.out);
  out.println(result);
  out.flush();
  </code></pre>