单选题
下列哪个选项不是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 类的方法。
提交答案
关闭