问题 单项选择题

下面的( )关键字通常用来对对象加锁,从而使得对对象的访问是排他的。

A.serialize

B.transient

C.synchronized

D.static

答案

参考答案:C

解析: 本题考查Java中对象加锁的概念。Java是多线程的语言,多个线程可以“同时”访问同一数据区,而在处理某些数据时不希望其他的线程修改那些数据的值或者某些操作是不可打断的,要做到这个,可以使用synchronized关键字声明这一点。

填空题

A good translator is by definition bilingual. The opposite is not ______(1) true, however. A born and bred bilingual will still need two__________(2) to become a translator: first, the skills and experience necessary for__________(3); second, knowledge of the field in which he or she will__________(4). The skills and experience for translation include the ability to write ______(5) in the target language, the ability to read and understand the_________(6) language material thoroughly, and the ability to work with the latest__________(7) and communication hardware and software.Does a born and bred bilingual__________(8) a better translator than someone who learned language B later in__________(9) There is no definite answer, but the following issues are important.__________(10), a born and bred bilingual often suffers from not truly knowing __________(11) language well enough to translate, with some even suffering from what __________(12) known as a lingualism, a state in which a person lacks_________(13) full, fluent command of any language. Second, born and bred bilinguals__________(14) don’’t know the culture of the target language well enough to_________(15) top-quality translations, or cannot recognize what aspects of the source language__________(16) its culture need to be treated with particular care, as they_________(17) in a sense too close to the language. And last, they often_________(18) the analytical linguistic skills to work through a sticky text.On_________(19) other hand, the acquired bilingual may not have the same in-depth _________(20) of colloquialisms, slang, and dialect that the born bilingual has. Also, the acquired bilingual will not be able to translate as readily in both directions (from B to language A and A to language B). Finally, born bilinguals often have a greater appreciation of the subtleties and nuances of both their languages than someone who learns their B language later in life can ever hope to have.

单项选择题