Java认证考试

Given  1.  public class Foo {  2.  public static void main (String [] args) }  3.  try { return;}  4.  finally { Syste.out.printIn (“Finally”);}  5. }  6. }   What is the result( )?A、 The program runs and prints nothing.B、 The program runs and prints “Fi

题目

Given  1.  public class Foo {  2.  public static void main (String [] args) }  3.  try { return;}  4.  finally { Syste.out.printIn (“Finally”);}  5. }  6. }   What is the result( )?

  • A、 The program runs and prints nothing.
  • B、 The program runs and prints “Finally”.
  • C、 The code comiles. But an exception is thrown at runtime.
  • D、 The code will not compile because the catch block is missing.
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Directions:You are to write in no less than 120 words about the title “Should National Holidays Be Longer?”Your composition should be based on the Chinese outline given below:

1.近些年来,我国法定节假日得到了延长……

2.谈谈你对这一现象的看法。


正确答案:

第2题:

Direetions: You are to write in 100~120 words about the title “Let's Do More to Save Energy”. You should base your composition on the outline given in Chinese below:

1.在现在能源短缺的情况下,你认为我们应该采取哪些措施来节约能源?

2.请举例说明为什么。


正确答案:

第3题:

Who was once given as a Christmas gift to a poor family?

________________________.


正确答案:
Anna.

第4题:

Directions: Write an essay of about 120 words on the Mental Health of Young People. Your composition should be based on the Outline given in Chinese below:1.年纪人自杀的行为越来越多。2.他们自杀的原因。3.我们应该采取的措施。


参考答案:Suicide among older people is on the rise.ccording to a study attempted suicide behavior. of young people, mostly impulse suicides among them, 37% of suicide attempters considering the time not more than 5 minutes before the suicide, considering the time is not more than two hours of suicide according to statistics, 60% of suicide by family relationships with bad feelings of the entrance of the dispensary suddenly the setback will become the reason of suicide among them, such as family disputes in the first place, the first reason to become the leading cause of suicide in addition due to emotional disputes the proportion of suicide are also on the rise.
How can we effectively prevent suicide among young people.First of all, death is not a day or two can be formed, so for parents, should be nurtured from an early age children open-minded character, to learn to face difficulties and setbacks, to let the child realize that difficulties and setbacks are not terrible, as long as we deal with it can be solved.Secondly, parents and social groups should respect children's self-esteem and self-confidence, let children participate in some public welfare activities, in the public welfare activities to feel love and happiness in life, learn to get along well with others, be kind to others.Finally, for some young people to prevent the role of the work unit is very big, each work unit should set up a youth psychological counseling center, actively carry out some public welfare, recreational activities, to promote the psychological development of young workers.

第5题:

____ 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

第6题:

She thought maybe she should consider_______her career and be a full-time mother

A.given up

B.to give up

C.giving up

D.having given up


正确答案:C

第7题:

Directions: Write a composition entitled Campus Activities. You should write at least 120 words according to the outline given below in Chinese:1. 校园活动多种多样2. 参加校园活动的好处3. 参加校园活动过多的坏处4. 结论


正确答案:Reference:
Campus Activities
Campus activities have been organized in many universities and colleges.
These activities range from academy to recreational, such as academic reports, speech contests, poet’s club, painting clubs, singing and dancing groups, etc.
These activities provide students with two major advantages. First of all, they play a positive role in improving students’ studies. Due to their heavy schedules, students are often buried in textbooks and seldom expose themselves to a colorful life. But the various activities provide opportunities for them to relax themselves and enrich their minds. In addition, the activities also serve students living in the “ivory tower” more chances to get in touch with society. From these activities, the participants have to leave the classroom and get to know the society.
All these offer an important means for students to broaden their horizons. By participating in campus activities, they have fulfilled university life and in turn help campus activities to grow and flourish.

第8题:

___________, he can finish the work in a couple of weeks.

A. Giving good health

B. If give good health

C. Given good health

D. If he is good given health


参考答案:C

第9题:

What are the components of Chinese names?

A、Given name and middle names

B、Family name

C、Family name and given name

D、Last name and surname


参考答案:C

第10题:

Part B

52. Directions:

A) Title: Globle Shortage of Fresh Water

B) Your composition should be based on the Outline given in Chinese below:

1. 人们认为淡水是取这不尽的;

2. 实际上淡水是短缺的;

3. 我们就当怎么办。

You should write about 200 words neatly on ANSWER SHEET Ⅱ.


正确答案:
[考题分析]本题为提纲作文,要紧扣提纲。题目给出的提纲就是文章的框架,只需充实内容就可以了,要注意的是,自己的内容需包括提纲给出的条目,可以做增加,但千万不可弃之一边,自作主张,结果因为扣题不紧而失分。内容可以这样组织:首先简单陈述人们的观点,如:雨水,河水,井水;主题部分当然是分析实际情况,如:人口增加,工业用水增加,污染严重等;最后给出建议,如:节约用水,开发新水源等。注意运用however, nevertheless,on the contrary,in fact等转折词,以及表列举顺序的表达。
    [参考范文]
Global Shortage of Fresh Water
    People often think that water will never be used up. There is plenty of water, such as rain, water from the rivers and wefts.
    It seems as ff water is always available around us and we never have to worry about water shortage. In fact water is rather limited on the earth. With the rapid increase of population and fast development of industries, water is more needed than before. At the same time, a large amount of water has been polluted and wasted every day. Some big cities in China are facing the problem of water short age already. There, water supply is controlled and industry has been restrained.
    What should we do about the water shortage? I think, first, the people should be made aware of the real situation about the water. Everyone should consciously save on water and certain law should be made that no water will be polluted. We have to protect the existing water resources and develop new ones. In this way I believe that our cities will not be thirsty for water in the future.

更多相关问题