import java.io.*;
public class BufferedWriterDemo {
public static void main(String[] args)throws IOException
{
FileWriter fw= new FileWriter("buf.txt");
BufferedWriter bufw=new BufferedWriter("fw");
bufw.write("abcde");
bufw.flush();
bufw.close();
fw.close();
}
}
怎么显示The constructor BufferedWriter(String) is undefined 错误啊!
|
|