What will readAllLines return if the file does not exist?

Viewed 1889

The oracle docs says here that the Files.readAllLines(Path path, Charset cs) method returns the lines from a file as a List<String>.
What will it return if the file does not exist? Also which implementation of List<String> will it return?

4 Answers
Related