title: Methods:println() and write() in java
body: <p><p>
  Hello,
  <p>
  I want to know the difference between <code>println()</code> and <code>write()</code> methods used in java servlet.</p>
  
  <pre><code>out.println("Hello");
  out.write("Hello");
  </code></pre>
  
  <p>How the above code will be stored??
  Why can we use both the methods for the writing the same text as above..</p>