问题 单项选择题

在下列选项中属于Java语言的代码安全检测机制的是( )。

A.动态链接

B.访问权限的检查

C.通过接口实现多重继承

D.将所有的Java应用都看做对象,按类进行封装

答案

参考答案:B

解析: 动态链接是JVM的一个重要特征,所以选项A是错误的;接口是用来实现多重继承的一个方法,Java通过这种方法来提高类继承的灵活性和扩展性,所以选项C是错误的:选项D错误,用类把Java的所有应用封装起来,是面向对象程序设计的基本思想:选项B正确,访问权限是解释器在解释执行Java程序时进行检查的,属于Java安全机制。

阅读理解

Given that many people's moods (情绪)are regulated by the chemical action of chocolate, it was probably only a matter of time before somebody made the chocolate shop similar to a drug store of Chinese medicine. Looking like a setting from the film Charlie&the Chocolate Factory, Singapore's Chocolate Research Facility (CRF) has over 100 varieties of chocolates.its founder is Chris Lee who grew up at his parents' corner store with one hand almost always in the jar of sweets.

If the CRF seems to be a smart idea, that's because Lee is not merely a seasoned salesperson but also head of a marketing department that has business relations with big names such as Levi's and Sony. That idea surely results in the imagination at work when it comes to making different flavored(味道)chocolates.

The CRF's produce is "green". made within the country and divided into 10 lines, with the Alcohol Series being the most popular. The Exotic Series一with Sichuan pepper, red bean (豆).cheese and other flavors一also does well and is fun to taste. And for chocolate snobs,who think that they have a better knowledge of chocolate than others, the Connoisseur Series uses cocoa beans from Togo, Cuba, Venezuela , and Ghana, among others.

小题1:What is good about chocolate?

A.It serves as a suitable gift.

B.It works as an effective medicine.

C.It helps improve the state of mind.

D.It strengthens business relations.小题2:Why is Chris Lee able to develop his idea of the CRF?

A.He knows the importance of research.

B.He learns form shops of similar types.

C.He has the support of many big names

D.He has a lot of marketing experience.小题3:Which line of the CRF produce sells best?

A.The Connoisseur Series.

B.The Exotic Series.

C.The Alcohol Series.

D.The Sichuan Series.小题4:The words "chocolate snobs" in Paragraph 3 probably refer to people who

A.are particular about chocolate

B.know little about cocoa beans

C.look down upon others

D.like to try new flavors

单项选择题