多选题 Given a directory structure:
- baseDir
- testDir
- subDir2
- Shackelton.txt
and given the following code:
12. String name = "testDir" + File.pathSeparator + "subDir2" + File.pathSeparator + "Shackelton.txt";
13. File f = new File (name);
14. System.out.println("exists " + f.exists());
Assuming the proper import statements and exception handling, which statements must be true in order for the output to be "exists true"? (Choose three.)
【正确答案】 B、C、E
【答案解析】