At what point is only a single object eligible for GC?
Hi,I forgot to modify the code earlier. Please look at the modified code I have moved
before we set e2 to null. In the K&B book answers sections it says that with the code above the answer would be
Never in this program
. But I think after line number 10, e3 should be eligible for garbage collection. Please clarify.