问题 单项选择题

保证Java语言可移植性的特征是【 】

A.面向对象

B.安全性

C.分布式计算

D.可跨平台

答案

参考答案:D

解析:本题考查Java语言的特点。Java语言的特点是考试重点,务必掌握。跨平台的特点保证了Java语言的可移植性,同时,Java的类库也具有可移植性。Java本身的编译器也用Java语言编写,运行系统的虚拟机用C语言实现,这样,Java系统本身也具有可移植性。

阅读理解

根据短文意思回答问题。

      This is an animal world. All kinds of animals are playing. They are good friends.      

      A panda says to a rabbit. "I'm bigger than you. " But the rabbit says, "Yes, but I'm quicker than you. "

      A tiger comes up and says, "I'm stronger than you." But the dog, the cat and the rabbit say, "You are 

stronger than us.  But you are not stronger than the elephant. "      

      The elephant says, "Yes, I'm stronger than you, but I'm shorter than the giraffe. "       

      Now the giraffe stands up and says.  "Am I taller than you?"       

      Everybody says, "Yes, you are taller than all of us."       

Questions:       

(1) Are all the animals good friends?                                                                     

(2) Who is bigger, a panda or a rabbit?                                                                       

(3) Who is quicker, a panda or a rabbit?                                                                     

(4) Is a tiger stronger than an elephant?                                                                       

(5) Who is taller than all of the other animals?                                                           

单项选择题