try {
FileReader fr = new FileReader("F:/My Data/2016/November/distance.txt");
BufferedReader br = new BufferedReader(fr);
br.close();
char[] str = new char[20];
fr.read(str);
System.out.println(str);
} catch (IOException e) {
System.out.println("只需关闭br,无需关闭fr");
}