title: no suitable constructor found for PrintWriter(File, boolean)
body: <pre><code>File file = new File("output.txt");
  
  PrintWriter output = new PrintWriter(file,true);
  </code></pre>
  
  <p>When I use <code>PrintWriter(file,true)</code> it's show me error</p>
  
  <blockquote>
    <p>"no suitable constructor found for PrintWriter(File, boolean)"</p>
  </blockquote>
  
  <p>how to solve it ,Thanks</p>