title: File declaration in Java
body: <p>If I just declare as </p>
  
  <pre><code>File file = new File("/opt/app/myfile.txt");
  </code></pre>
  
  <p>Does it open file? should I required to close it?
  Please suggest me on this.</p>