posted 13 years ago
Hi all,
While solving problems regarding calculation of no of objects to be garbage collected,
should we consider the exception also,as they are also objects ??
I believe that only one object is garbage collected that is nfe and Integer object i
cannot be garbage collected as it may exist even after returning...
But the answer is given as none of the objects were garbage collected...
Can someone explain this...
Thanks in advance...