问题 单项选择题

下列______选项不是InputStream类中的方法。

A.public abstract int read() throws IOException

B.public final void writeInt (int throws IOException

C.public int available() throws IOException

D.public void close() throws IOException

答案

参考答案:B

解析: 选项B中的public final void writeInt(int v) throws IOException方法是OutputStream类中的方法。

不定项选择
单项选择题