What are some possible results of executing the following code? (Choose all that apply.)
A. It prints some files in the root directory.
B. It prints all files in the root directory.
C. FileSystemLoopException is thrown at runtime.
D. Another exception is thrown at runtime.
E. The code will not compile because of line u1.
F. The code will not compile because of line u2.
The book's correct answers:
A, D.
I think B is also a correct option because the problem statement did not specify which files exist in the directory(if the dir exists at all). Since the question was asking "
What are some possible results", B can be a possible result
when all the files in the dir end with .java