both of them are not correct, the garbage collection will start at the first line of "System.out.println(a+b); " couse "a" and "b" have been invoked

guest (ditto)
(#96565@0)
2001-6-10 -05:00

回到话题: question about java garbage collector

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=96565