网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面哪个不是InputStream类中的方法?
A.int read(byte[])
B.void flush()
C.void close()
D.int available()
参考答案
更多 “ 下面哪个不是InputStream类中的方法?A.int read(byte[])B.void flush()C.void close()D.int available() ” 相关考题
考题
在下面的函数声明中,存在着语法错误的是 ( )。A.void BC(int a,int)B.void Bd(int,int)C.void BE(int,int=5)D.int BF(int x;int y)
考题
InputStream对象的方法read(byte[]buffer,intoffset,intlength)的返回值的含义是哪项?()
A.固定长度的字节数B.1C.-1D.运行时异常被抛出
考题
在下面的函数声明中,存在着语法错误的是A.void BC(int a,int)B.void BD(int,int)C.void BE(int,int t=5)D.int BF(int x;int y)
考题
下列不属于FileInputStream输入流的read()成员函数的是( )。A.int read (byte b[],int offset,int len)B.int read (int line)C.int read ()D.int read (byte b[])
考题
下列______选项不是InputStream类中的方法。A.public abstract int read() throws IOExceptionB.public final void writeInt (int V)throws IOExceptionC.public int available() throws IOExceptionD.public void close() throws IOException
考题
JMenu中用于返回指定索引处的菜单项,第一个菜单项的索引为0的方法是()
A.int getItemCount()B.void JMenuItem insert(JMenuItem menuItem,int pos)C.void addSeparator()D.JMenuItem getItem(int pos)
考题
Calendar类中,用于为指定的日历字段增加或减去指定的时间量的方法是?()
A.int get(int field)B.void add(int field,int amount)C.void set(int field,int value)D.void set(int year,int month,int date)
考题
下列哪个选项不是InputStream类中的方法?A.public abstract int read( )throws IOExceptionB.public final void writeInt(int v)throws IOExceptionC.pubfic void close( )throws IOExceptionD.pubfic int available( )throws IOExcepfion
考题
对于FileInputStream和FileOutputStream类,下面哪个方法不会产生IOException异常()A、二者的构造函数B、read()C、close()D、write()
考题
InputStream子类对象继承了InputStream类的方法read(),read()方法的定义有()。A、publicintread()B、publicintread(byteb[])C、publiccharread()D、publiccharread(byteb[])
考题
单选题以下哪个方法只对使用了缓冲的流类起作用?()A
read()B
write()C
skip()D
flush()
热门标签
最新试卷