Please Explain me how many OBJECTS are eligible for GARBAGE COLLECTION in following code when //dostuff is reached
This question is given the book
SCJP Programmer Study Guide written by Kathy Seirra And Bert Bates.
Answer is given only 2 Objects
no.1 is Object c1 and another one is shortcut wrapper Object associated with Object c1
What is Shortcut Wrapper Object??
i am not geeting this one.