Hi Folks, This question was quoted before at this forum here. I have a doubt but I was not able to post a reply there so I am starting a new topic.
The question from the book, Chapter 3:
Q: when //do stuff is reached, how many objects are eligible for GC?
The answer for this as explained is: 2. Only one CardBoard object (c1) is eligible, but it has an associated short wrapper object that is also eligible.
My doubt: Why not C3? Afterall, it is getting a null from the go method during initialization, isn't it?