问题 单项选择题

类是一组具有相同属性和相同操作的对象的集合,类中的每个对象都是这个类的一个 (48) 。类之间共享属性和操作的机制称为 (49) 。一个对象通过发送 (50) 来请求另一个对象为其服务。

(48)处填()。

A.例证(Illustration)

B.用例(Use Case)

C.实例(Instance)

D.例外(Exception)

答案

参考答案:C

解析:

一个类定义了一组大体上相似的对象,类所包含的方法和数据描述了一组对象的共同行为和属性。将一组对象的共同特征加以抽象并存储在一个类中的能力,是面向对象技术最重要的一点。有无丰富的类库,是衡量一个面向对象程序设计语言成熟与否的重要标志。

继承是父类和子类之间共享数据和方法的机制。

消息是要求某个对象执行类中定义的某个操作的规格说明,是一个对象与另一个对象的通信单元。一个消息通常包括接受对象名、调用的操作名和适当的参数(如有必要)。

问答题 简答题
阅读理解

Avatar

Venue: Orient Pioneer Theater

Date: January 2

Price (¥): 150/180/240/300

Tel: 400 – 810 – 3721

Additional Information:

The film is directed by James Cameron. In the future, Jake, a paraplegic war veteran, is brought to another planet, Pandora, which is inhabited by the Na’vi, a humanoid race with its own language and culture. Those from Earth find themselves at odds with each other and the local culture. The fierce war unfolded …

Farewell My Concubine

Venue: National Centre for the Performing Arts

Date: January 2

Price (¥): 50/80/100/300

Tel: 400 – 810 – 8271

Additional Information:

Peking Opera tells the story of XiangYu (232BC – 202BC), the self – styled Hegemon – king of Western Chu (modern provinces of Hubei, Huan, Jiangxi, Anhui and Jiangsu) who battled to unify China with LiuBang, the final founder of the powerful Han Dynasty.

Guo Degang Cross Talk Show

Venue: Cultural Palace of Nationalities

Date : January 24 – 25

Price (¥): 100/200/300/500

Tel: 400 – 610 – 2270

Additional Information:

Guo Degang is a famous Chinese cross talk actor.

Confucius

Venue : Today Art Theater

Date : January 20

Price (¥): 100/120/150/180

Tel: 400 – 610 – 3721

Additional Information:

The film is about Confucius, who was a Chinese thinker and philosopher. His teachings and philosophy have deeply influenced Chinese, Korean, Japanese and Vietnamese though and life.

40.If you want to appreciate the Chinese traditional opera, you can call         

A.Tel: 400 – 810 – 3721         B.Tel: 400 – 810 – 8271

C.Tel: 400 – 610 – 2270         D.Tel: 400 – 610 – 3721

41.What can we learn from four posters?

A.Avatar, directed by James Cameron, is a sci – fi movie.

B.Confucius can be seen in Oriental Pioneer Theatre.

C.You can enjoy Guo Degang’s cross talk on Jan. 20.

D.Xiang Yu finally founded the powerful Han Dynasty.

42.The underlined phrases “at odds” probably means        

A.in harmony         B.in disagreement         C.in touch      D.in common