Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-829 Topic 10 Question 23 Discussion

Actual exam question for Oracle's 1Z0-829 exam
Question #: 23
Topic #: 10
[All 1Z0-829 Questions]

Given:

Which statement is true while the program prints GC?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Charlie
3 months ago
Because only one of the objects previously referenced by t1 is eligible for garbage collection based on the program logic.
upvoted 0 times
...
Nenita
3 months ago
Why do you think it's D?
upvoted 0 times
...
Charlie
3 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Nenita
3 months ago
I think the answer is A.
upvoted 0 times
...
Tom
3 months ago
Because only one of the objects previously referenced by t1 is eligible for garbage collection based on the program logic.
upvoted 0 times
...
Cecily
3 months ago
Okay, let me see here... If the program is printing 'GC', that means the garbage collector is active, so the objects must be eligible for collection. I'm going to go with B.
upvoted 0 times
...
Yuki
3 months ago
Haha, this question is a real brain-teaser! I'm going to go with B, but I'm not totally confident.
upvoted 0 times
Gladis
2 months ago
Yeah, it seems like both objects referenced by t1 are no longer needed.
upvoted 0 times
...
Margarita
3 months ago
I think B is the correct answer too.
upvoted 0 times
...
...
Rodolfo
4 months ago
Why do you think it's D?
upvoted 0 times
...
Jettie
4 months ago
I'm pretty sure it's B. If the program is printing 'GC', that means the garbage collector is running, so both objects previously referenced by t1 should be eligible for collection.
upvoted 0 times
Delsie
2 months ago
I agree with you, B seems to be the correct option.
upvoted 0 times
...
Gladys
2 months ago
I'm pretty sure it's B. Both the objects previously referenced by t1 should be eligible for garbage collection.
upvoted 0 times
...
Oliva
3 months ago
I disagree, I believe it's D. Only one of the objects previously referenced by t1 is eligible for garbage collection.
upvoted 0 times
...
Benedict
3 months ago
I think it's A. Only the object referenced by t2 is eligible for garbage collection.
upvoted 0 times
...
...
Tom
4 months ago
I disagree, I believe the answer is D.
upvoted 0 times
...
Rodolfo
4 months ago
I think the answer is A.
upvoted 0 times
...
Dolores
4 months ago
Hmm, I'm not sure about this one. It seems like both the objects referenced by t1 should be eligible for garbage collection, but let me think it through again.
upvoted 0 times
Nobuko
3 months ago
I'm not sure, I thought both the objects referenced by t1 should be eligible.
upvoted 0 times
...
Kizzy
3 months ago
I think only the object referenced by t2 is eligible for garbage collection.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77