Oracle Java SE 17 Developer 1z0-829 Question # 10 Topic 2 Discussion

Oracle Java SE 17 Developer 1z0-829 Question # 10 Topic 2 Discussion

1z0-829 Exam Topic 2 Question 10 Discussion:
Question #: 10
Topic #: 2

Given:

1z0-829 Question 10

Which statement is true while the program prints GC?


A.

Only the object referenced by t2 is eligible for garbage collection.


B.

Both the objects previously referenced by t1 are eligible for garbage collection.


C.

None of the objects are eligible for garbage collection.


D.

Only one of the objects previously referenced by t1 is eligible for garbage collection.


Get Premium 1z0-829 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.