• 2022-06-07 问题

    想要实现使用缓冲流创建输出流,并实现向文件中追加数据的功能的方式是() A: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt"),true); B: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt",true); C: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt",false)); D: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt"),false);

    想要实现使用缓冲流创建输出流,并实现向文件中追加数据的功能的方式是() A: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt"),true); B: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt",true); C: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt",false)); D: BufferedOutputStreambis=newBufferedOutputStream(newFileOutputStream("c:\\demo.txt"),false);

  • 1