新建一个流对象,下面那个选项的代码是错误的?
8 查阅
新建一个流对象,下面那个选项的代码是错误的?
A.newBufferedWriter(newFileWriter(“a.txt”));
B.newBufferedReader(newFileInputStream(“a.dat”));
C.newGZIPOutputStream(newFileOutputStream(“a.zip”));
D.newObjectInputStream(newFileInputStream(“a.dat”));
参考答案: