public class test02 {
public static void main(String[]args){
FileReader reader = null;
try {
reader = new FileReader("d:/a.txt");
char c = (char) reader.read();
} catch (FileNotFoundexception e) {//这里报错
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
} finally {
try {
if (reader != null) {
reader.close();
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
}

