Question 14 / 28:  1. class Eco {

2. public static void main(String[] args) {

3. Eco e1 = new Eco();

4. Eco e2 = new Eco();

5. Eco e3 = new Eco();

6. e3.e = e2;

7. e1.e = e3;

8. e2 = null;

9. e3 = null;

10. e2.e = e1;

11. e1 = null;

12. }

13. Eco e;

14. }

At what point is only a single object eligible for GC?

A  1
B  2
C  3
D  compilation fails
E  An exception is thrown at runtime.
<< First < Previous Flashcard Next > Last >>
Quiz Home Page
https://www.jobilize.com/prateek-ashtikar-scjp-online-exam-310-065

SCJP Online Exam 310-065

Author:

Access: Public Instant Grading

Ask
Stephanie Redfern
Start Quiz
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/prateek-ashtikar-scjp-online-exam-310-065" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>