如果有类Person和其子类Man和Woman,则如果程序中出现语句Womanw=newMan()下列说法正确的是()。
A.语句错误
B.语句正确
C.编译正确但运行错误
D.以上均不对
A.语句错误
B.语句正确
C.编译正确但运行错误
D.以上均不对
第1题
A.每个对象在系统中都有唯一的对象标识
B.事件作用于对象,对象识别事件并作出相应反应
C.一个子类能够继承其所有父类的属性和方法
D.一个父类包括其所有子类的属性和方法
第2题
The man leaving college with a trained mind ______. ()
A.is certain to succeed
B.is successful in his studies
C.is considered an educated person
D.can grasp any problem
第3题
如果发现有人休克,保安应怎么处置?
A.How does a security deal with the person if he finds he lost his consciousness?
B.What does a security hold a person if he finds he lost his consciousness?
C.How does a security handle the person if he finds he is injured?
D.What will a security deal with the person if he finds a man involved in a case?
第4题
The man ______ the Helping Hand Group is a handicapped person himself.
A.organizes
B.organized
C.organizing
D.organize
第5题
使用困难报告的类别包括:()
A.运行类和维修类
B.机械类和电子类
C.运行类和结构类
D.电子类和结构类
第6题
The drunk man was running from side to side in the crowd and he knocked into______.
A.one person after another
B.one by one
C.a man and woman
D.persons after persons
第8题
It can be inferred from the first paragraph that__________ .
A.every glance has its significance
B.staring at a person is an expression of interest
C.a gaze longer than three seconds is unacceptable
D.a glance conveys more meaning than words
第9题
What kind of person would you say the old man was ?
A.He was not happy because people didn't understand him.
B.He was kind enough though very strange.
C.He was a person who remained puzzling(讼人迷惑不解的)after much thought.
D.He was expert at the study of the woods.
第10题
【C1】
A.give
B.gives
C.gave
D.given
第11题
For example, it is recorded in many history books that people who lived over 3000 years ago ate salted fish. Thousands of years ago in Egypt, salt was used to preserve the dead.
In some periods of history, a person who stole salt was thought to have broken the law. Take the eighteenth century for example, if a person was caught stealing salt, he would be thrown into prison. History also records that only in England about ten thousand people were put into prison during that century for stealing salt! About 450 years ago, in the year 1553, if a man took more than his share of salt, he would be thought to have broken the law and would be seriously punished. The offender's ear was cut off.
Salt was an important item on the dinner table of a king. It was always put in front of the king when he sat down to eat. Important guests at the king's table were seated near the salt. Less important guests were given seats farther away from it.
Thousands of years ago in Egypt salt was used ______.
A.to punish people who had broken the law
B.to keep dead bodies from decay
C.to keep fish alive
D.to make chemicals