问题 单项选择题

下列哪个选项不是InputStream类中的方法?()

A.public abstract int read( )throws IOException

B.public final void writeInt(int v)throws IOException

C.pubfic void close( )throws IOException

D.pubfic int available( )throws IOExcepfion

答案

参考答案:B

解析:

解析:B中的 public final void writeInt(int v)throws IOException 方法

是OutputStream 类的方法。

单项选择题
单项选择题