下列程序从标准输入设备—键盘诗篇一个字符,然后再输出到屏幕。要想完成此功能,画线处应

题型:单项选择题

问题:

下列程序从标准输入设备—键盘诗篇一个字符,然后再输出到屏幕。要想完成此功能,画线处应该填入的语句为( )。
impoajava.io.*;
publicclassTest

publicstaticvoidmain(Stringargs[])

charch;
try

______,
System.out.println(Ch);

catch(IOExceptione)

e.printStackTrace();


A.ch=System.in.read();

B.ch=(char)System.in.read();

C.ch=(char)System.in.readln();

D.ch=(int)System.in.read();

考点:计算机等级考试JAVA二级JAVA笔试
题型:单项选择题

同义选择。

1. It's nearly about twenty minutes.

A. almost

B. near

C. just

D. really

2. Whenever you are free, please come to see me.

A. As long as

B. No matter when

C. When

D. No matter what

3. —Hi, have you found your lost book?

—Not yet. I have looked for it everywhere, but I still haven't found it.

A. here and there 

B. somewhere

C. over there 

D. at those places

4. I received a letter from my friend yesterday.

A. have got 

B. heard from 

C. heard a letter from

D. got from

5. Mum has a bad headache. We have to send for the doctor at once.

A. ask the doctor to come 

B. find the doctor by ourselves

C. send the doctor away  

D. go to the doctor's

题型:单项选择题
学校小星星合唱团中,男生人数是女生的
9
11
,后来又新增了8名男生,这时男女生人数刚好相等.这个合唱团有多少名女生?
题型:单项选择题

马钱子的性状特征()

A.扁圆纽扣形

B.表面灰绿色密生茸毛

C.质坚硬,胚乳肥厚

D.子叶叶脉5~7条

E.味微苦,剧毒

题型:单项选择题

检查机组各部件的温升情况,电机机身一般不超过()。

A.80°

B.60°

C.95°

题型:单项选择题

我国公民在行使自由和权利的时候,不得损害()的利益。

A.其他公民的合法的自由和权利

B.国家

C.他国公民

D.社会

E.集体

更多题库