RandomAccessFile raf=new RandomAccessFile("random.txt","r");则( )。
A、raf对象可以读取random.txt中的内容;
B、raf对象可以往random.txt中写内容;
C、raf对象既可以读取random.txt中的内容,也可以往该文件中写内容;
D、raf对象只能顺序读写文件中的内容
发布时间:2024-09-22 16:05:18
A、raf对象可以读取random.txt中的内容;
B、raf对象可以往random.txt中写内容;
C、raf对象既可以读取random.txt中的内容,也可以往该文件中写内容;
D、raf对象只能顺序读写文件中的内容