cerr
cin
clog
cout
第1题:
A.使用URL对象的openConnection()方法得到
B.使用URLConnection类的静态方法openConnection()方法得到
C.使用URL对象的getConnection()方法得到
D.使用URLConnection类的静态方法getConnection()方法得到
第2题:
重载输入流运算符))必须使用的原型为( )。
A.istream&operator>>(istream&,<类名>&);
B.istream&operator>>(istream,<类名>);
C.istreamoperator>>(istream,<类名>&);
D.<类名>operator>>(istream&,<类名>&);
第3题:
A.cin
B.cerr
C.clog
D.cout
第4题:
A. cin
B.cout
C.cerr
D.clog
第5题:
重载输入流运算符<<必须使用的原型为
A.ostream& operator>>(ostream&,<类名>);
B.istream&o perator>>(istream&,<类名>&);
C.ostream operator>>(ostream,<类名>&);
D.<类名>operator>>(istream&,<类名>&);
第6题:
下面关于ios类的叙述中,正确的是( )。
A.它是istream类和ostream类的虚基类
B.它只是istream类的虚基类
C.它只是ostream类的虚基类
D.它是ostream类的虚基类
第7题:
输入流对象是信息流出的源头.istream,ifstream和istrstream是三个最重要的输入流类。()
第8题:
A.使用URL对象的openConnection方法
B.使用URLConnection类的静态方法openConnection()方法得到
C.使用URL对象的getConnection()方法得到
D.使用URLConnection类的静态方法getConnection()方法得到
第9题:
重载输人流运算符>>必须使用的原型为( )。
A.istream&operator>>(istream&,<类名>&);
B.istream&operator>>(istream,<类名>);
C.istreamoperator>>(istream,<类名>&);
D.<类名>operator>>(istream&,<类名>&);
第10题:
下列选项中,( )是FilterInputStream类构造方法的有效参数。
A.无参数
B.OutputStream对象
C.InputStream对象
D.RandomAccessFile对象