• 2022-07-25
    新建一个流对象,下面哪个选项的代码是错误的?()
    A: newBufferedWriter(newFileWriter("a.txt"));
    B: newBufferedReader(newFileInputStream("a.dat"));
    C: newGZIPOutputStream(newFileOutputStream("a.zip"));
    D: newObjectInputStream(newFileInputStream("a.dat"));