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

admin2010-12-17  18

问题 下列哪个选项不是InputStream类中的方法?

选项 A、public abstract int read()throws IOException
B、public final void writeInt (int v)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类的方法。
转载请注明原文地址:https://kaotiyun.com/show/bl9p777K
0

最新回复(0)