I've create a small program, and when I create a File object like
File f = new File("c:")
and then call the method isDirectory, it returns true. Why is that?
The program is suppose to show all files in that directory and works fine except when Im using the "c:". It is not accessing "c:\", not the home path, but the directory the program is executing from. I really don't understand.