but its not ...can anyone explain me when does the object gets garbage collected exactly??
Thanks & Regards<br /> <br />-Srikanth
posted 11 years ago
Never in that method . Answer 'c' because , eventhough 'b' is set to null the reference variable c points to this object and it is returned to the calling place. [ September 22, 2005: Message edited by: Srinivasa Raghavan ]