无码高清视频|成人自拍视频|欧美成人午夜无码A片秀色直播|草美女视频网站|美女被操网站在线观看

單項選擇題

1. class Test { 
2. private Demo d; 
3. void start() { 
4. d = new Demo(); 
5. this.takeDemo(d);
6. } 
7.  
8. void takeDemo(Demo demo) { 
9. demo = null; 
10. demo = new Demo();
11. } 
12. } 
When is the Demo object, created on line 3, eligible for garbage collection?()  

A. After line 5.
B. After line 9.
C. After the start() method completes.
D. When the takeDemo() method completes.
E. When the instance running this code is made eligible for garbage collection.

微信掃碼免費搜題