Your MCQ
Feed
(current)
Add MCQ
Notifications
0
Categories
Tags
Login
Search
Home
/ Report Question
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");
A. A new directory called dirname is created in the current working directory.
B. A new directory called dirname is created in the current working directory.
C. A new file called filename is created in the current working directory.
D. No directory is created, and no file is created.
Name
Email
Message