欢迎来到易学考试网 易学考试官网
全部科目 > Java认证考试 > Java认证考试综合练习

单项选择题

想要实现使用缓冲流创建输出流,并实现向文件中追加数据的功能的方式是()

    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);

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题