Which of the following best describes when a variable becomes avaliable for reclamation by the garbage collector?
A.After the variable is out of a method scope.
B.After you use it.
C.Upon returning from the containing method block.
D.When the variable is no long referenced anywhere in the JVM. 应该选哪个?
A.After the variable is out of a method scope.
B.After you use it.
C.Upon returning from the containing method block.
D.When the variable is no long referenced anywhere in the JVM. 应该选哪个?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货