相关考题
-
单项选择题
使用JavaIO流实现对文本文件的读写过程中,需要处理下列()异常
A.ClassNotFoundException
B.IOException
C.SQLException
D.RemoteException -
单项选择题
想要实现使用缓冲流创建输出流,并实现向文件中追加数据的功能的方式是()
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.文件
B.流的形似
C.二进制
D.字节