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
The question was asked in class test.
This question is from Java 8 Features in section Autoboxing & Miscellaneous of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)