2001年3月英语中级口译真题答案及听力原文

2001.3

上海市英语中级口译资格证书第一阶段考试

参考答案:

SECTION 1: LISTENING TEST

Part A: Sport Dictation

1. television viewers                           2. recent research

3. more far-reaching                           4. power of authority

5. gets away with                              6. a social reality

7. escape from                                8. dangerous and frightening

9. less trustful                                10. police protection

11. estimate                                  12. further evidence

13. 33                                      14. instead of 

15. network TV                              16. threat of danger

17. exploit by the media                        18. increasing pressure

19. aggressive behavior                         20. social control and stability

Part B: Listening Comprehension

1-5  BCDAC                           6-10  CCBAC

11-15  DACBC                  16-20   DBABD 

21-25  ABCBA                           26-30   BCCAD

Part C: Listening and Translation

Ⅰ. Sentence Translation

.当时那人就我们陈列在交易会上的新产品提了好多问题。但是,他没有下任何定单。

2. 多数人在劳累工作了一天回家后都希望能休闲一下,诸如洗个热水澡或者聆听轻音乐。

3. 慢跑是一种慢速、稳定的奔。最近几年来,慢跑已成为非常流行的一种户外活动。

4. 下山容易上山难,因此,染上坏习惯容易,养成好习惯难。

5. 如果你在快餐店或咖啡店就餐,你付5元钱或再多一点就能吃一顿。但是如果你在旅馆或市中心的饭店用餐,你就要付十倍的钱。

. Passage Translation

Passage 1

1970年,一位美国人发明了一辆与众不同的自行车。它看上去好像是将两辆自行车合为一辆,并且可同时供两人使用。每一位骑车人都有自己的座位。因为他们都有各自的手把,都能驾驭自行车。然而,该项发明未能成功。如果其中一位骑车人略微向左拐,另一位略微向右拐,两人都会摔倒在经。

Passage 2

过去两年来,许多州和城市都已经在公共场所限制吸烟。越来越多的饭店和其他私人企业鉴于健康的原因自觉出台有关吸烟的规定。在纽约市,数以十计的冰淇淋食品店划出了禁烟区,而且看起来更多的顾客提出要坐在禁烟区,而不是吸烟区。

SECTION 2STUDYSKILLS

1-5 DDBBB 6-10 CBADB

11-15 BBCDC 16-20 CDCBA

21-25 CADCD 26-30 DDBDA

SECTION 3TRANSLATION TEST (1)

20年前,摩托罗拉公司带着近乎害怕的心理看待日本企业。早在(20世纪)60年代,这个公司芝加哥的电视制造分公司规模大、利润高。但在70年代初,高成本以及日本廉价电视机日趋上升的势头使其遭受重创。“日本人非常嚣张,”摩托罗拉公司发言人马里奥·萨尔瓦多瑞追忆道,“他们想分享市场。”通过残酷无情的价格战,他们如愿以偿,并最终把几乎所有美国电子公司赶出电视机行业。1974年,摩托罗拉将其Quasar 电视生产厂卖给了一家日本公司。但是,当其他美国公司在对外竞争中败北的时候,摩托罗拉公司重新调整了产业方向,转向无线通讯。这是一个它在20年代开拓的产业(另外还有移动收音机和步话机)。此举确有先见之明。

SECTION 4: TRANSLATION TEST (2)

According to a survey, about 40% of our country’s youth do not read any books other than their textbooks. I am shocked at the result. I remain suspicious of the survey, though the people concerned claim it to be scientific. Despite my suspicion, the fact is that more and more young people, instead of reading, spend their spare time watching TV, going to dance parties, playing video games or chitchatting. Gorgy once said:“Books are steps toward human progress.”As we all know, books is a crystallization of human wisdom. Although modern media such as TV and computers enjoy advantages in the speed of information dissemination, so far none of them can replace books in respect of the depth of knowledge being spread.

听力测试题录音文字稿:

SECTION 1: LISTENING TEST

Part A: Sport Dictation

Directions: In this part of the test, you will hear a passage and read the same passage with blanks in it. Fill in each of the blanks with the word or words you have heard on the tape. Write your answer in the correstponding space in your ANSWER BOOKLET. Remember you will hear the passage ONLY ONCE. Now, let’s begin Part A with Spot Dictation.

(Woman) Many people nowadays are concerned about violence on television. Most of them fear that it stimulates television viewers to violent or aggressive acts. However, in my lecture today, I’d like to show you, from our recent research, that the consequences of experiencing television’s symbolic world of violence can be much more far-reaching.

We have found that television dramatically demonstrates not only the power of authority in our society, but also the risks involved in breaking society’s rules. Violence-filled programs on television show us who gets away with what, and against whom. These programs teach the role of victim, and help us to accept violence as a social reality which we must learn to live with or escape from.

We have found that people who watch a lot of television see the real world as more dangerous and frightening than those who watch very little. Heavy TV viewers are less trustful of strangers on the street and more fearful of the real world. Their fear may well bring increasing demands for police protection, and election of law-and-order politicians. When we asked viewers to estimate their own chances of being involved in some type of violence during any given week, they provide further evidence that television can induce fear and alertness: the heavy viewers were 33 percent more likely than the light viewers to pick such fearful estimates as 50-50 or one in 10, instead of a more plausible one in 100.

We have found that violence on prime-time network TV cultivates exaggerated assumptions about the threat of danger in the real world. Fear is a universal emotion, and naturally, easy to exploit by the media. The exaggerated sense of risk and insecurity may lead to increasing demands for protection, and to increasing pressure for the use of force by established authority. Therefore, instead of stimulating individual aggressive behavior and threatening the social order, television may have become our chief instrument of social control and stability.

Part B: Listening Comprehension

Ⅰ. Statements

Directions: In this part of the test, you will hear several short statements. These statements will be spoken only once, and you will not find them written on the paper; so you must listen carefully. When you hear a statement, read the answer choices and decide which one is closest in meaning to the statement you have heard. Then write the letter of the answer you have chosen in the corresponding space in your ANSWER BOOKLET.

Question No.1. (Woman)  The MBA program of that well-know university I attended last year was rather difficult, but I got a lot out the courses there.

Question No.2. (Woman)  The Vice President has a full schedule with a series of meetings next Monday and Tuesday, and have assistants.

Question No.3. (Man)  The general manager was surprised to see so many people shopping at his supermarkets during the holiday break.

Question No.4. (Man)  I think the applicant lacks the necessary qualifications for the post as a computer programmer in that hi-tech corporation.

Question No.5. (Woman)  Don’t worry. I think Jack can fix that projector in the lab, there’s really nothing to it.

Question No.6. (Woman)  Although Jenny and I have many differences of opinion, we usually get along well most of the time.

Question No.7. (Man)  I’m afraid you’ll have to revise and type the memorandum of understanding a second time.

Question No.8. (Man)  In their studies and reports, both economists and government officials have underestimated the rate of inflation of this country.

Question No.9. (Man)  Our company has decided to set up a display for the city’s forthcoming Science and Technology Week.

Question No.10. (Woman)  Within the past century, scientists have been trying unsuccessfully to find a real cure for the common cold.

Ⅱ. Talks and Conversations:

Directions: In this part of the test, you will hear several short talks and conversations. After each of these, you will hear a few questions. Listen carefully, because you will hear the talk or conversation and questions only once. When you hear a question, read the four answer choices and choose the best answer to that question. Then write the letter of the answer you have chosen in the corresponding space in your ANSWER BOOKLET.

Questions 11 to 14 are based on the following conversation.

(Woman)  Good afternoon, I’d like some information about the trains, please.

(Man)  Yes, madam. Which train? Where are you going?

(Woman)  To Newcastle. You see. I have a sister there, you know. We had a phone all yesterday and she invited me over to stay for the weekend, so…

(Man)   So your question is “when’s the next train to Newcastle”? Is that right?

(Woman)  Yes, that’s right. When is next train to Newcastle, please?

(Man)  At half past eleven. That’s in about a minute.

(Woman)  Thank you very much. Oh! Can I get something to eat on the train? I always have something to eat when I travel. I find that a cup of tea and a sandwich always help my nerves.

(Man)  Yes, madam. There’s a buffet car on the train.

(Woman)  Oh, good! Er…how much does a cup of tea cost?

(Man)  I’m not sure, madam. Half a pound, I think.

(Woman)  You mean fifty pennies! Oh dear! Things are getting so expensive!

(Man)  Yes, madam. Your train’s going to leave in half a minute now.

(Woman)  Thank you. Oh! Which platform does it leave from?

(Man)  Platform 13.

(Woman)  platform 13! Oh, dear! I never travel on trains that leave from platform 13! 13’s an unlucky number. When is the next train after the 11:30?

Question No.11. Why does the woman want to go to Newcastle?

Question No.12. According to the man, when will the next train to Newcastle leave?

Question No.13. What does the woman like to have when she is traveling?

Question No.14. How much will the woman have to pay for a cup of tea?

Questions 15 to 18 are based on the following advertisement.

(Woman) Geographically speaking, Britain is by no means a big country. From north to south and from east to west it is only about three hundred miles, or four hundred and eighty kilometers, across. But small as it is, Britain has a surprising range of climates. People who have never visited this country, or who have visited only one part of it, often make the mistake of thinking that it is clod and wet in Britain. Have you ever heard of a typical Englishman wearing a bowler hat and carrying an umbrella all the time? His image is well known all over the world. You may assume that this is because he lives in a cold and rainy country. Well, except for the summer months of June to September this is a probably true of the north of Britain and the Midlands. In the south, however, the weather is much more pleasant. As a result, when people retire from a job in the north, they often prefer no move down to the warmer and milder south.

Perhaps the warmest part of the country is the southwest, namely, the counties of Devon and Cornwall. Every year, the warm Gulf Stream flows across the North Atlantic Ocean from the Gulf of Mexico and brings a quite warm and mild climate to the coastal regions of the southwest. In this part of the country grows semi-tropical plants such as bamboo and palm trees. Flowers and vegetables ripen as a month earlier than those elsewhere. In winter, while there may be several feet of snow in other parts of Britain, there will probably be no snow at all in the southwest. That is why the southwestern counties remain to be Britain’s most popular holiday areas all the year round.

Question No.15. According to the talk, which is the best season for people in the north of Britain to enjoy mild and pleasant climates?

Question No.16. What is the approximate distance from the north coastal lines of Britain to the south coastal lines?

Question No.17. Which of the following best describes the weather conditions in Britain?

Question No.18. Why are Devon and Cornwall popular holiday areas all the year round?

Question 19 to 22 are based on the following conversation.

(Woman)  John, do you think we make too much use of tinned and frozen food in Britain? The supermarkets here are full of them, aren’t they? Perhaps that is why our food is not very tasty, as you may have found out already.

(Man) But frozen foods are convenient and handy, aren’t they? Just think of all the tedious work we have to do in the kitchen if it weren’t for the frozen foods and the like.

(Woman)  Yes, that’s true! But you spend much more time cooking and preparing meals in your country than we do in Britain, don’t you?

(Man) Yes, I suppose we do. You make less fuss about food than we do. In my own country, we have two big meals a day, that is, lunch and dinner, and we spend a lot of time preparing them. Here in Britain, you have only one big meal a day, apart from breakfast and lunch snack, and you spend much less time preparing it.

(Woman)  Yes, but we’re just as fond of good and delicious food as you are.

(Man)   Well, you certainly don’t show it !

(Woman)  We do fuss about our meals sometimes, and remember, we like to eat out on special occasions, such as weekend evenings, birthday, parties and other celebrations. London is full of foreign restaurants where you can get all the exotic dishes of the world. You must come out with us one evening, John.

(Man) Thank you very much, I’d love to. And that’s what I like about London. There’s always so much to see and do. I think I have made a wise decision when I chose to live and study in London.

Question No.19. According to John, what is true about the British people?

Question No.20. Which of the following is the only big meal for the British people?

Question No.21. According to the conversation, what do the British people like to do on special occasions?

Question No.22. Why do the man and the woman prefer toe live in London?

Questions 23 to 26 are based on the following talk.

(Man) The first TV dinners came out in the United States in the 1950s, and they were immediately regarded as a major advance in the invention of “social convenience.” However, there are those people who believe that the introduction of TV dinners has weakened the ties of the American family. This was brought about by the change in that long-standing tradition of family life—the evening meal.

Before television became popular with the average American family, the typical American dinner would involve almost all th4e family members. The dinner would take part in three stages: the preparation stage, the eating stage and the clean-up stage. In the preparation stage, the children often helped with setting the table while the mother cooked the meal. In the eating stage, the family members, old and young, would talk about their day’s activities as they ate. As noon as the evening meal was over, the children were again involved in the cleaning-up stage, so that, as in the first two stages, their importance within the family was clear. 

After the arrival of television, the eating stage began to change. Family members could now eat and watch television at the same time. As a result, they stopped talking to each other. It was the TV dinner, however, that killed off the preparation and the clean-up stages. Before long, all people had to do was use a fork, since the TV dinner could go from the oven to the lap, and from the lap to the rubbish bin with great ease.

By the beginning of the 1980s, the typical American family dinner was just 20 minutes long. Of course, the pace of modern life has increased, and this has affected the time we spent over dinner. But the introduction of a meal that could be eaten between the start and finish of a 30-minute television programmed has also contributed to this change of our family life.

Question No.23. According to the talk, what is a TV dinner?

Question No.24. Compared with the traditional American dinner, what stages are not included in the modern TV dinner?

Question No.25. What did American Children use to do in the preparation stage of the evening meal?

Question No.26. According to the talk, how long will a typical American dinner last in the 1980s?

Questions 27 to 30 are based on the following conversation.

(Man)  Erm, well, you name’s Julia.

(Woman)  Julia Brown, yes.

(Man)  Julia Brown. I’m Allan Lee.

(Woman)  Hello.

(Man)  Hi. Erm, whereabouts do you live?

(Woman)  I live in Forest Hill, south-east London.

(Man)  Oh yeah. I used to live near there.

(Woman)  Not far away.

(Man)  No. Very near. Actually I really enjoyed living there. Are you working near there?

(Woman)  I work in London. I am with the IBM, as a computer programmer. I also work as an administrator for a small charity organization. Erm, that’s only part-time. I also work in a wine-bar. That’s part –time, too.

(Man)  You mean part-time work in the evenings?

(Woman)  Erm, yeah, two evenings a week.

(Man)  Right. Yeah. It’s quite a long way in from Forest Hill, mm?

(Woman)  It’s quite a journey into Central London. Both the charity office and the wine-bar are in Hatton Garden, Central London, you know.

(Man) Yeah. That’s right. But you get the mainline in? I mean the mainline from southeast London into Central London?

(Woman)  Yes, that’s into Charing Cross, and erm, I tend to walk from there to Hatton Garden, yes. Trying to get fit.

(Man)  Right. I’m quite lucky. I work at home.

(Woman)  What do you do?

(Man) I’m a pianist. So I spend most of the day practicing. Trying to er, get as many recitals as possible.

(Woman)  Do you teach piano lessons?

(Man) Er I don’t at the moment, no. I’m just concentrating on playing sort of ,six hours a day, five days a week, that kind of thing. But erm, getting yourself established is pretty difficult.

(Woman)  Yes, so do you—are actually working, playing at the moment?

(Man)     Erm. Yeah, well I’ve just done two concerts, in the North. And I am now trying to enter for a competition, in Austria, next January. So erm, maybe something’ll come out of that. I look forward to that kind of competition, and I’m really working hard.

Question No.27. What is the woman’s full-time job during the day?

Question No.28. In which part of London does the woman live?

Question No.29. What does the man do for a living?

Question No.30. What is the man going to do earlier next year?

Part C: Listening and Translation

Ⅰ. Sentence Translation

Directions: In this part of the test, you will hear 5 English sentences. You will hear the sentences only once. After you have herd each sentence, translate it into Chinese and write you version in the corresponding space in ANSWER BOOKLET. Now, let’s begin Sentence Translation with Sentence No.1. The man asked a lot of questions about our new products displayed at the trade

             fair. Nevertheless, he didn’t book any orders.

Sentence No.2. Most people want to have some form of relaxation when they come home after a hard day’s work, such as taking a hot bath or listening to some light music.

Sentence No.3. Jogging is a slow, steady kind of running. In recent years, it has become very popular as a form of outdoor exercise.

Sentence No.4. It is easier to go downhill than to climb uphill, so it is easier to fall into bad habits than into good ones.

Sentence No.5. You can get a meal for about $5 or slightly more if you eat in snack bars or coffee shops. But if you eat in a hotel or a downtown restaurant, you are expected to pay ten times as much.

Ⅱ. Passage Translation

Directions: In this part of the test, you will hear 2passages in English. You will hear the passages only once. After you have heard each passage, translate it into Chinese and write your version in the corresponding space in your answer booklet. You may take notes while you are listening. Now, let’s begin Passage Translation with the first passage.

Passage 1

(Woman) In 1979, an American man invented an unusual bicycle. It looked like two bicycles in one and it could be used by two people at the same time. On the new bicycle each person had their own bicycle seat and each person would be able to ride the bicycle because they both had their own set of handlebars. However, the invention was not a successful one. If one person turned a little to the left and the other a little right, both riders fell onto the ground.

Passage 2

(Man) In the past two years, many states and cities have limited smoking in public places. An increasing number of hotels, restaurants and other private enterprises have voluntarily introduced smoking regulations for health reasons. For example, in New York City, a dozen ice cream shops have set up non-smoking sections and there seems to be more demand for seats in non-smoking sections than in smoking sections.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
1JAVA SE 1.1深入JAVA API 1.1.1Lang包 1.1.1.1String类和StringBuffer类 位于java.lang包中,这个包中的类使用时不用导入 String类一旦初始化就不可以改变,而stringbuffer则可以。它用于封装内容可变的字符串。它可以使用tostring()转换成string字符串。 String x=”a”+4+”c”编译时等效于String x=new StringBuffer().append(“a”).append(4).append(“c”).toString(); 字符串常量是一种特殊的匿名对象,String s1=”hello”;String s2=”hello”;则s1==s2;因为他们指向同一个匿名对象。 如果String s1=new String(“hello”);String s2=new String(“hello”);则s1!=s2; /*逐行读取键盘输入,直到输入为“bye”时,结束程序 注:对于回车换行,在windows下面,有'\r'和'\n'两个,而unix下面只有'\n',但是写程序的时候都要把他区分开*/ public class readline { public static void main(String args[]) { String strInfo=null; int pos=0; byte[] buf=new byte[1024];//定义一个数组,存放换行前的各个字符 int ch=0; //存放读入的字符 system.out.println(“Please input a string:”); while(true) { try { ch=System.in.read(); //该方法每次读入一个字节的内容到ch变量中。 } catch(Exception e) { } switch(ch) { case '\r': //回车时,不进行处理 break; case '\n': //换行时,将数组总的内容放进字符串中 strInfo=new String(buf,0,pos); //该方法将数组中从第0个开始,到第pos个结束存入字符串。 if(strInfo.equals("bye")) //如果该字符串内容为bye,则退出程序。 { return; } else //如果不为bye,则输出,并且竟pos置为0,准备下次存入。 { System.out.println(strInfo); pos=0; break; } default: buf[pos++]=(byte)ch; //如果不是回车,换行,则将读取的数据存入数组中。 } } } } String类的常用成员方法 1、构造方法: String(byte[] byte,int offset,int length);这个在上面已经用到。 2、equalsIgnoreCase:忽略大小写的比较,上例中如果您输入的是BYE,则不会退出,因为大小写不同,但是如果使用这个方法,则会退出。 3、indexOf(int ch);返回字符ch在字符串中首次出现的位置 4、substring(int benginIndex); 5、substring(int beginIndex,int endIndex); 返回字符串的子字符串,4返回从benginindex位置开始到结束的子字符串,5返回beginindex和endindex-1之间的子字符串。 基本数据类型包装类的作用是:将基本的数据类型包装成对象。因为有些方法不可以直接处理基本数据类型,只能处理对象,例如vector的add方法,参数就只能是对象。这时就需要使用他们的包装类将他们包装成对象。 例:在屏幕上打印出一个*组成的矩形,矩形的宽度和高度通过启动程序时传递给main()方法的参数指定。 public class testInteger { public static void main(String[] args) //main()的参数是string类型的数组,用来做为长,宽时,要转换成整型。 { int w=new Integer(args[0]).intValue(); int h=Integer.parseInt(args[1]); //int h=Integer.valueOf(args[1]).intValue(); //以上为三种将字符串转换成整形的方法。 for(int i=0;i<h;i++) { StringBuffer sb=new StringBuffer(); //使用stringbuffer,是因为它是可追加的。 for(int j=0;j<w;j++) { sb.append('*'); } System.out.println(sb.toString()); //在打印之前,要将stringbuffer转化为string类型。 } } } 比较下面两段代码的执行效率: (1)String sb=new String(); For(int j=0;j<w;j++) { Sb=sb+’*’; } (2) StringBuffer sb=new StringBuffer(); For(int j=0;j<w;j++) { Sb.append(‘*’); } (1)和(2)在运行结果上相同,但效率相差很多。 (1)在每一次循环中,都要先将string类型转换为stringbuffer类型,然后将‘*’追加进去,然后再调用tostring()方法,转换为string类型,效率很低。 (2)在没次循环中,都只是调用原来的那个stringbuffer对象,没有创建新的对象,所以效率比较高。 1.1.1.2System类与Runtime类 由于java不支持全局函数和全局变量,所以java设计者将一些与系统相关的重要函数和变量放在system类中。 我们不能直接创建runtime的实例,只能通过runtime.getruntime()静态方法来获得。 编程实例:在java程序中启动一个windows记事本程序的运行实例,并在该运行实例中打开该运行程序的源文件,启动的记事本程序5秒后关闭。 public class Property { public static void main(String[] args) { Process p=null; //java虚拟机启动的进程。 try { p=Runtime.getRuntime().exec("notepad.exe Property.java"); //启动记事本并且打开源文件。 Thread.sleep(5000); //持续5秒 p.destroy(); //关闭该进程 } catch(Exception ex) { ex.printStackTrace(); } } } 1.1.1.3Java语言中两种异常的差别 Java提供了两类主要的异常:runtime exception和checked exception。所有的checked exception是从java.lang.Exception类衍生出来的,而runtime exception则是从java.lang.RuntimeException或java.lang.Error类衍生出来的。    它们的不同之处表现在两方面:机制上和逻辑上。    一、机制上    它们在机制上的不同表现在两点:1.如何定义方法;2. 如何处理抛出的异常。请看下面CheckedException的定义:    public class CheckedException extends Exception    {    public CheckedException() {}    public CheckedException( String message )    {    super( message );    }    }    以及一个使用exception的例子:    public class ExceptionalClass    {    public void method1()    throws CheckedException    {     // ... throw new CheckedException( “...出错了“ );    }    public void method2( String arg )    {     if( arg == null )     {      throw new NullPointerException( “method2的参数arg是null!” );     }    }    public void method3() throws CheckedException    {     method1();    }    }    你可能已经注意到了,两个方法method1()和method2()都会抛出exception,可是只有method1()做了声明。另外,method3()本身并不会抛出exception,可是它却声明会抛出CheckedException。在向你解释之前,让我们先来看看这个类的main()方法:    public static void main( String[] args )    {    ExceptionalClass example = new ExceptionalClass();    try    {    example.method1();    example.method3();    }    catch( CheckedException ex ) { } example.method2( null );    }    在main()方法中,如果要调用method1(),你必须把这个调用放在try/catch程序块当中,因为它会抛出Checked exception。    相比之下,当你调用method2()时,则不需要把它放在try/catch程序块当中,因为它会抛出的exception不是checked exception,而是runtime exception。会抛出runtime exception的方法在定义时不必声明它会抛出exception。    现在,让我们再来看看method3()。它调用了method1()却没有把这个调用放在try/catch程序块当中。它是通过声明它会抛出method1()会抛出的exception来避免这样做的。它没有捕获这个exception,而是把它传递下去。实际上main()方法也可以这样做,通过声明它会抛出Checked exception来避免使用try/catch程序块(当然我们反对这种做法)。    小结一下:    * Runtime exceptions:    在定义方法时不需要声明会抛出runtime exception;    在调用这个方法时不需要捕获这个runtime exception;    runtime exception是从java.lang.RuntimeException或java.lang.Error类衍生出来的。    * Checked exceptions:    定义方法时必须声明所有可能会抛出的checked exception;    在调用这个方法时,必须捕获它的checked exception,不然就得把它的exception传递下去;    checked exception是从java.lang.Exception类衍生出来的。    二、逻辑上    从逻辑的角度来说,checked exceptions和runtime exception是有不同的使用目的的。checked exception用来指示一种调用方能够直接处理的异常情况。而runtime exception则用来指示一种调用方本身无法处理或恢复的程序错误。    checked exception迫使你捕获它并处理这种异常情况。以java.net.URL类的构建器(constructor)为例,它的每一个构建器都会抛出MalformedURLException。MalformedURLException就是一种checked exception。设想一下,你有一个简单的程序,用来提示用户输入一个URL,然后通过这个URL去下载一个网页。如果用户输入的URL有错误,构建器就会抛出一个exception。既然这个exception是checked exception,你的程序就可以捕获它并正确处理:比如说提示用户重新输入。 

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值