Q. You execute the code below in an empty directory. What is the result? File f1 = new File ("dirname");F ile f2 = new File (f1, "filename");
β
Correct Answer: (C)
A new file called filename is created in the current working directory.