title: Does creating a new File instance cause creating an empty file?
body: <p>I read the <code>File</code> class <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html#File-java.lang.String-" rel="nofollow">javadoc</a>. Here is what's written there:</p>
  
  <blockquote>
    <p>Creates a new File instance by converting the given pathname string
    into an abstract pathname. If the given string is the empty string,
    then the result is the empty abstract pathname.</p>
  </blockquote>
  
  <p><strong>QUESTION</strong>: Is it guarantee that if file doesn't exist it won't create an empty file or it depends on the system? I tried it on RedHat linux and an empty file is created only after I create <code>OutputStream</code>.</p>
  
  <p>It's not obvious from java to me.</p>