Hi,
The following example given in the Garbage collection topic in
SCJP 1.5 book by Kathy.
I believe, GoodBye object must supposed to be Garbage collected as the s2 refers to Hello object after the line s1=s2?
Please tell me if this is other way around?
Thanks&Regards, Krishna.
SCJP1.4, SCWCD1.4, SCBCD 5.0