單項選擇題使用下列哪一個類可以實現(xiàn)在文件的任意一個位置讀寫一個記錄()

A.FileInputStream
B.FileReader
C.FileWriter
D.RandomAccessFile


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題

根據(jù)以下代碼,哪個選項是準確的?()

A. restore 400
B. restore 403
C. restore 453
D. Compilation fails.
E. An exception is thrown at runtime.

2.單項選擇題

給出一段程序,試判斷哪個是正確的結(jié)果()

A.hello throwit caught
B.hello throwit caught finally after
C.hello throwit RuntimeException after
D.hello throwit caught finally after RuntimeException