Given that c i

题目

Given that c is a reference to a valid java.io.Console object,which two code fragments read a line of textfrom the console?()

  • A、String s = c.readLine();
  • B、char[] c = c.readLine();
  • C、String s = c.readConsole();
  • D、char[] c = c.readConsole();
  • E、String s = c.readLine("%s", "name ");
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

The company really needs the fax machine by tomorrow________

A.we’ve ever given before.

B.but I got nothing out of it.

C.or it will have to look elsewhere.

D.I am afraid we can go no further.


参考答案:C

第2题:

37. —I’ve given all my pocket money to the people in Yushu.

—_________I hope they can get over the difficulties they are meeting.

A. So am I

B. So have I

C. So I have

D. So I am


正确答案:B
37.B【解析】句意:——我已把所有的零用钱都给了玉树的人们。——我也是。我希望他们能够克服所遇到的困难,由后句“我希望他们能够克服所遇到的困难”可知I have given all my pocket money, too,故选B项.

第3题:

Because we can’t find a compromise________

A.we’ve ever given before.

B.but I got nothing out of it.

C.and there are two hundred and sixteen thousand employees worldwide.

D.I am afraid we can go no further.


参考答案:D

第4题:

It's very interesting to study names of different countries.Chinese names are different (1) foreign names.Once an English lady came to visit me.When I was introduced to her she said, “ Glad to meet you, Miss Ping.” Then she gave me her name card with three words on it:"Betty J.Black.So I said, “Thank you, Miss Betty.” We looked at each other and laughed heartily.Later I found that the English people (2)their family names last and the given names first, while their middle names are not used very much.I explained to her that the Chinese family name comes first, the given name last, so she(3) never call me Miss Ping.She asked if we Chinese had a middle name.I told her we didn't.but people may often find three words

on a Chinese name card.In this case the family name still come first, and the other words after it(4)a two-word given name.it is quite usual in China.My sister is Li Xiaofang.She has two words in her given name instead (5) just one like mine.(完型填空)

A.Put

B.From

C.Should

D.of

E.are


答案:B A C E D 

解析:本段意思:研究不同国家的名称是非常有趣的。中国人的名字不同于外国人的名字。有一次,一位英国女士来看我。当我被介绍给她时,她说:“很高兴认识你,萍小姐。然后她给了我她的名片,上面有三个字:“贝蒂·j·布莱克。”所以我说:“谢谢你,贝蒂小姐。我们面面相觑,开怀大笑。后来我发现英国人把姓放在最后,名放在前面,中间的名字用得不多。我向她解释中国姓在前,名在后,所以她永远不要叫我萍小姐。她问我们中国人有没有中间名。我告诉她我们没有。但是人们经常会在一张中文名片上发现三个字。在这种情况下,姓仍然在前面,在它后面的其他单词是两个单词组成的名字。这在中国很常见。我妹妹是李小芳。她有两个字在她的名字,而不像我一样只有一个。


第5题:

_______ another three weeks, I would have been able to finish the experiment.

A. Given

B. Giving

C. To give

D. Having given


正确答案:A

第6题:

() and I’ll get the work finished.

A、Have one more hour

B、One more hour

C、Given one more hour

D、I have one more hour


参考答案:B

第7题:

(d) Explain to the management of Bailey’s why consideration should be given to resolving the problems through:

(i) job rotation; (5 marks)


正确答案:
(d) (i) Job rotation is the planned rotation of staff between jobs and tasks to reduce monotony and boredom and provide fresh opportunities and challenges. This could be a useful way of encouraging employees at Bailey’s alongside enrichment and enlargement. Rotation would encourage better understanding between employees at Bailey’s. It takes two forms,the transfer to another job after some time in an existing job and the introduction of another individual to the job being vacated, or as a form. of training where individuals are moved through different jobs to learn new skills.

第8题:

I think the discount is higher than anything________

A.or it will have to look elsewhere.

B.we’ve ever given before.

C.there are two hundred and sixteen thousand employees worldwide.

D.but I got nothing out of it.


参考答案:B

第9题:

____ a lift in your car, I would not have been home.

A、Had you not given me

B、I had not given

C、You had not given me

D、Had I not given


答案:B

第10题:

Given:Integeri=newInteger(42);Longl=newLong(42);Doubled=newDouble(42.0);Whichtwoexpressionevaluatetotrue?()

A.(i==l)

B.(i==d)

C.(d==l)

D.(i.equals(d))

E.(i.equals(i))

F.(i.equals(42))


参考答案:D, E

更多相关问题