Hmm, this one's tricky. I'm going to go with D - only one of the objects previously referenced by t1 is eligible for garbage collection. The question doesn't provide enough information to know for sure, but that seems like the safest bet.
I think C is the correct answer. If the program is printing GC, it means the garbage collector is running, but that doesn't necessarily mean any objects are eligible for collection.
Option B makes the most sense to me. If the program prints GC, that means garbage collection is happening, and both the objects previously referenced by t1 should be eligible for collection.
Clarinda
5 months agoEmmanuel
5 months agoClarinda
5 months agoAnnita
5 months agoTammara
5 months agoVallie
4 months agoDannie
5 months agoCatalina
6 months agoMinna
5 months agoAlbina
5 months agoEmmanuel
6 months agoCelestine
6 months agoNancey
5 months agoElena
5 months agoDominga
5 months ago