What Does Fileslinespath Path Do #1123
What does Files.lines(Path path) do?
This multiple choice question (MCQ) is related to the book/course gs gs128 Java. It can also be found in gs gs128 Java Autoboxing - Java 8 Features - Quiz No.1.
What does Files.lines(Path path) do?
It reads all the files at the path specified as a String
It reads all the lines from a file as a Stream
It reads the filenames at the path specified
It counts the number of lines for files at the path specified