I believe the answer list should be reviewed:
You had to select 2 options
- The given line of code will throw an exception at run time.
- f.mkdir(); will create directory d under c and directory e under d.
- f.mkdirs(); will create directory d under c and directory e under d.
- f.getParentFile() will return a File Object representing c:\a\b\c\d
- None of these.
Meaning that even if someone doesn't know the answer at all, he/she can definitely exclude the last option. I think the "None of these" option works well where there is only one possible response.
In this case the last one should be either removed or replaced with another false option.