public void myClose() throws IOException//你原代码中这里的方法名字写错了改过来就欧了
{
reader.close();
}
public int read(char[] arg0, int arg1, int arg2) throws IOException
{
return 0;
}
}
class Test1
{
public static void main(String[] args) throws IOException
{
FileReader fr = new FileReader("d:\\abc.txt");
MyBufferedReader myBufferedReader = new MyBufferedReader(fr);