title: What's the difference between Printwriter and OutputStream
body: <p>First,we have PrintWriter   </p>
  
  <pre><code>java.io.File f=new java.io.File("s.txt");
  
     java.io.PrintWriter out=new java.io.PrintWriter(f);
  
     out.print(5);
  
     out.print(7);
  
     out.close();
  </code></pre>
  
  <p>Then we have outputstream</p>
  
  <pre><code> java.io.File f=new java.io.File("s.txt");
  
   java.io.FileOutputStream out=new java.io.FileOutputStream(f);
  
     out.write(5);
  
     out.write(7);
  
     out.close();
  </code></pre>
  
  <p>Whats the difference?</p>