This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I believe that pathname / filename are platform DEPENDENT. RHE gives the following example on page 378: on a Unix machine: File f = new File("/tmp", "xyz"); // assume /tmp is a directory on a Windows machine: File f1 = new File("C:\\a"); // assume C:\\a is a directory File f2 = new File(f1, "Xyz.java");