Skip to content
CodeKruPro

Read every line of a small file

QuizEasyJava onlyAsked in: Infosys

Which call reads every line of data.txt into a List<String> in one step? (Path and Files are Java classes for file locations and file work.)

Choose one answer.

to answer and keep your progress. Reading is free for everyone.