试题详情
- 单项选择题 Given: 11. public void genNumbers() { 12. ArrayList numbers = new ArrayList(); 13. for (int i=0; i<10; i++) { 14. int value = i * ((int) Math.random()); 15. Integer intObj = new Integer(value); 16. numbers.add(intObj); 17. } 18. System.out.println(numbers); 19. } Which line of code marks the earliest point that an object referenced by intObj becomes a candidate for garbage collection?()
A、 Line 19
B、 The object is NOT a candidate for garbage collection.
C、 Line 17
D、 Line 16
E、 Line 18
- A
关注下方微信公众号,在线模考后查看
热门试题
- In your database, y
- While creating
- Which backgrou
- Which statemen
- You are working on
- ABC Corp. is instal
- Given: Whatistheres
- The EMP table conta
- You issued&ens
- ClicktheExhibitbutto
- Identify the
- ou need
- Evaluate the SQL sta
- In your t
- You are
- What is
- 对数值型变量V_NUM,进行四舍五入,保
- You executed the fo
- Given thatQ
- Which three componen