问题 单项选择题

resume( )方法负责恢复被哪个方法挂起的线程

A.stop( )

B.sleep( )

C.wait( )

D.suspend( )

答案

参考答案:D

解析:在线程中调用suspend( )方法使线程挂起,暂停执行,如果恢复此线程必须调用resume( )方法使其进入可运行态。

完形填空
完形填空。
Dear Benter,   
     You have been away exactly two weeks today but it seems more like two years to me!   
     I'm glad to hear you'll be back soon. Are you coming directly home, dear? Or do you plan to make some
stops   1   the way? I hope you'll be home in   2   for Patsy's birthday next Sunday. She is   3   you to show
films to her   4   friends. Patsy keeps asking every day   5   you'll be back. She says you never   6   that story
you were telling her about   7   train that lost its " toot" (喇叭嘟嘟声). You'd better   8   and think up a good
ending   9   it. You know how Patsy is? She  10   be happy until she knows exactly what -   11   to the"toot"
and  12   the little train got it back  13  !   Everything at home is fine except that we   14   you so much!
I've been   15   with the spring cleaning. Yesterday I had Cora  16   in to wash the kitchen walls and she did a
very good  17  of it. The kitchen looks as though it's been repainted. I made some new yellow curtains, and they   18   very beautiful.  
     I went to see your mother yesterday. Her  19   is all gone and she looks very   20  . Your sister Jean looks
wonderful! She has taken off about fifteen pounds since she began dieting. But now she's complaining that
none of her clothes fit! Hope to see you before next Sunday.  
     Love and kisses to you!                  
                                                                                                                          Yours                                                                                                                                             Lynn
( )1. A in      
( )2. A. time    
( )3. A. expecting
( )4. A. small   
( )5. A. that    
( )6. A. finished
( )7. A. some    
( )8. A. care    
( )9. A. on      
( )10. A. mustn’t
( )11. A. affected
( )12. A. how    
( )13. A. yet    
( )14. A. love   
( )15. A. working
( )16. A. stay   
( )17. A. work   
( )18. A. show   
( )19. A. cold   
( )20. A. good   
B. on           
B. fact         
B. thinking  
B. short        
B. when        
B. stopped   
B. a             
B. arrive     
B. for            
B. couldn’t   
B. about      
B. however      
B. too         
B. think       
B. ready       
B. come        
B. job          
B. feel         
B. heat        
B. well       
C. at          
C. all         
C. agreeing  
C. little     
C. why          
C. supplied
C. the          
C. pretend    
C. at             
C. won’t   
C. happened  
C. because     
C. again       
C. miss      
C. together   
C. visit      
C. thing      
C. become      
C. health    
C. nice     
D. along           
D. the end         
D. hoping         
D. low            
D. unless         
D. included        
D. this            
D. hurry           
D. in                
D. shouldn’t   
D. was             
D. why            
D. next            
D. care            
D. busy           
D. drop           
D. clean         
D. look             
D. medicine       
D. best          
判断题