Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: user97340
Added: Feb 10, 2018 3:25 AM
Modified: Feb 10, 2018 6:57 AM
Views: 4
Tags: no tags
  1. File f = new File(s);
  2.         List<String> strings = Files.readAllLines(f.toPath());