单项选择题

当要将一文本文件当作一个数据库访问,读完一个纪录后,跳到另一个纪录,它们在文件的不同地方时,一般使用()类访问。

A. FileOutputStream
B. RandomAccessFile
C. PipedOutputStream
D. BufferedOutputStream