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
What does Files.lines(Path path) do?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What does Files.lines(Path path) do?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!