September 29, 2020
Given this code fragment:
Assume that the file system containing the current working directory has an empty directory, tmp, in its root.
What is the result? Choose one.
A) john
B) ..
C) doe
D) Execution completes without exceptions, producing output that depends on the host operating system.
E) An exception is thrown at line n1.
The answer is B