单项选择题

下面哪个方法在RandomAccessFile类有,而在Reader或Writer类中没有()。

A.voidclose()
B.intread()
C.setLength(long newLength)
D.以上都不是