📅  最后修改于: 2022-03-11 14:52:18.503000             🧑  作者: Mango
BufferedReader fr=new BufferedReader(new FileReader("fileName"));
String line;
while((line = br.readLine()) != null){
System.out.println(line);
}