package cn.filereader;
import java.io.FileNotFoundException;
import java.io.FileReader;
public class FileReaderTest02 {
public static void main(String[] args) {
try {
FileReader fr = new FileReader("d.txt");
char [] ch =new char[1204];
while (fr.read(ch)!=-1) {
System.out.println(new String(ch));
}
} catch (Exception e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}