问题
单项选择题
下列哪个选项不是InputStream类中的方法
A.public abstract int read()throws IOException
B.public final void writeInt (int throws IOException
C.public void close()throws IOException
D.public int available() throws IOException
答案
参考答案:B
解析: B中的public final void writeInt (int v)throws IOException方法是OutputStream类的方法。