This discussion is archived
6 Replies Latest reply: Jul 2, 2011 8:46 AM by 872842 RSS

OCJP exam

872842 Newbie
Currently Being Moderated
Hi all,
Please tell me the reason for

o = new object();
doSomethingElse(null); // this line is available for garbage collection why?

Hope 2 have a reply soon.

Regards,
Minuri..

Edited by: 869839 on Jul 2, 2011 4:56 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points