title: Java's relative path in class File
body: <p>here is my code:</p>
  
  <pre><code>File file1 = new File("");
  System.out.println(file1.exists()); // why the output is false?
  System.out.println(file1.getAbsolutePath());
  
  // assume that my current path is "d:/xxx/yyy"
  File file2 = new File(".");
  System.out.println(file2.getPath());   // i want to get ""
                                         // but i actually get ".", 
                                         // which is not i want.
                                         // so how can i get ""
  </code></pre>
  
  <p>to sum up, what i want is an object file of class File, which when i call
  file.getPath() it returns ""
  and when i call file.exists() it returns true;</p>