About Question com.enthuware.ets.scjp.v6.2.297 :
Posted: Tue Oct 30, 2012 3:51 pm
This last option:
seems like very close to the correct answer, particularly because in all of the questions on Garbage Collection here it says that if ALL the references to the object (as well as references to references) are nulled, its eligible. So what is making this option not correct - that fact that even if if all the totoal references are nulled it still can be hanging in the memory and actually deleted after unknown period of time?Objects are deleted when they can no longer be accessed through any reference.