移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

单选题

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?()

发布日期:2022-07-13

Given:   11. public void genNumbers() {   12. Arra...
A

Line 19

B

The object is NOT a candidate for garbage collection.

C

Line 17

D

Line 16

E

Line 18

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!