问题 填空题

在面向对象方法中,信息隐蔽是通过对象的______性来实现的。

答案

参考答案:封装

解析: 封装性是指从外面看只能看到对象的外部特征,而不知道也无需知道数据的具体结构以及实现操作的算法。所以在面向对象方法中,信息隐蔽是通过对象的封装性来实现的。

完形填空
完型填空。
     There are   1   new students in our school. They are   2   American, Canada and
Australia. They    3   a little Chinese. They often teach    4   English and we teach them
Chinese. We often talk to each    5   in English or in Chinese. We learn a lot from each other.
     They like sports very much. They often play football or basketball on Sunday.    6   they go
boating or fly kites. They play games with    7   students. Look!  One of the Australian girls 
  8    dancing now. All the other boys and girls are singing with their Chinese schoolmates
(同学).
     They like China and Chinese food very much. They're very    9   and they're good 
  10    of the Chinese people.
( )1. A. any          
( )2. A. in            
( )3. A. say          
( )4. A. us            
( )5. A. others        
( )6. A. some time's  
( )7. A. China        
( )8. A. is            
( )9. A. friend        
( )10.A. friendly      

B. much          
B. to            
B. speak          
B. our            
B. the other      
B. some time    
B. Chinese        
B. are            
B. friends        
B. friend        

C. lots          
C. from          
C. tell          
C. we            
C. another        
C. sometimes    
C. English        
C. be            
C. be friend      
C. friends        

D. some        
D. at          
D. talk        
D. ours        
D. other      
D. some times
D. Japanese    
D. like        
D. friendly    
D. friends    

判断题