问题 填空题

如果一个Java源程序文件中定义有4个类,则使用Sun公司的JDK编译器javac编译该源程序文件,将产生4个文件名与类名相同而扩展名为 【15】 的字节码文件。

答案

参考答案:class

解析: 一个源文件中可以有多个类,但编译后也将产生相对应的字节码文件,字节码文件的扩展名是class。

完形填空
While I was waiting to enter university, I saw an advertisement in a newspaper –a teaching job wanted at a school.  The school was about ten miles from where I lived. I was in great      of money and wanted to do something useful, so I      .
Three days later, a letter arrived.  It asked me to meet the principal of the school at Croydon. It proved to be a(n)     journey -a train to Croydon station, a ten-minute bus ride and then a walk of      a quarter of a mile.
A man who was short and round seemed to be the principal and he opened the door for me. "The school," he said, "has a group of twenty-four boys between seven and thirteen years old." According to the man, I should have to teach all the subjects       art, which the man himself taught. I should have to      the class into three groups and teach them at three different levels, and I was not glad at the      of teaching Maths -a subject which I wasn't good at. It was        that I had to teach them on Saturday afternoon because most of my friends would be      themselves at that time.
Before I had time to ask about my      ,the man got up to his feet. "Now," he said,“You'd better meet my wife.  She is the one who really runs this school.”
小题1:
A.fearB.needC.dangerD.control
小题2:
A.appliedB.arranged C.announced D.accepted
小题3:
A.comfortable B.boringC.shortD.unpleasant
小题4:
A.at firstB.at mostC.at leastD.at last
小题5:
A.besidesB.exceptC.including D.about
小题6:
A.cutB.divideC.turnD.gather
小题7:
A.actionB.wayC.movement D.thought
小题8:
A.worseB.betterC.harderD.nicer
小题9:
A.helpingB.believing C.enjoyingD.losing
小题10:
A.fundB.valueC.award D.pay
单项选择题

Odland remembers as it was yesterday working in an expensive French restaurant in Denver. The ice cream he was serving fell onto the white dress of a rich and important woman.

Thirty years have passed, but Odland can’t get the memory out of his mind, nor the woman’s kind reaction (反应). She was shocked, regained calmness and, in a kind voice, told young Odland, "It’s OK. It wasn’t your fault. " When she left the restaurant, she also left the future Fortune 500 CEO (总裁) with a life lesson: You can tell a lot about a person by the way he or she treats the waiter.

Odland isn’t the only CEO to have made this discovery. Rather, it seems to be one of those few laws of the land that every CEO learns on the way up. It’s hard to get a dozen CEOs to agree about anything, but most agree with the Waiter Rule. They say how others treat the CEO says nothing. But how others treat the waiter is like a window into the soul.

Watch out for anyone who pulls out the power card to say something like, "I could cut this place and fire you," or "I know the owner and I could have you fired. " Those who say such things have shown more about their character(人品) than about their wealth and power.

The CEO who came up with it, or at least first wrote it down, is Raytheon CEO Bill Swanson. He wrote a best-selling book called Swanson’s Unwritten Rules of Management.

"A person who is nice to you but rude to the waiter, or to others, is not a nice person," Swanson says, "I will never offer a job to the person who is sweet to the boss but turns rude to someone cleaning the tables. \

According to the text, most CEOs have the same opinion about ().

A.Fortune 500 companies

B.the Management Rules

C.Swanson’s book

D.the Waiter Rule