

MCQOPTIONS
Saved Bookmarks
1. |
What does Files.lines(Path path) do? |
A. | It reads all the files at the path specified as a String |
B. | It reads all the lines from a file as a Stream |
C. | It reads the filenames at the path specified |
D. | It counts the number of lines for files at the path specified |
Answer» C. It reads the filenames at the path specified | |