public class X { public object m () { object o = new float (3.14F); object oa = new object [1]; oa[0]= o; o = null; return oa[0]; } } When is the float object created in line 3, eligible for garbage collection?()
A、 Just after line 5
B、 Just after line 6
C、 Just after line 7 (that is, as the method returns)
D、 Never in this method.
相关问题推荐
-
One of Company.com’s Linux partitions is experiencing excessive paging. They want to provide more memory to the partition to resolve this problem. What is the best method to add the memory?()
A、Add an additional virtual swap device to the partition.
B、Use DLPAR to dynamically add the required memory to the partition.
C、Shut down the partition and redefine its profile with additional memory.
D、Change Partition Load Manager parameters to provide the partition with additional memory shares.
-
The 'lsvg -o' command is run with an output of only rootvg, but the server has another volume group named datavg, which is notdisplayed. What is the likely cause?()
A、datavg is in an offline state.
B、'lsvg -o' only displays the root volume group.
C、'lsvg -o' only displays the fist volume group.
D、datavg has no filesystems and therefore, is inactive.
-
第四代计算机采用()为主要逻辑部件。
-
以下语句用于打开一个顺序文件“Open″C:\MyFile.txt″ForOutPut”,但是该语句的一个重要错误是没有( )。
A、指定打开方式
B、指定文件号
C、指定打开文件名
D、指定文件类型
-
安装安全防护软件有助于保护计算机不受病毒侵害。
A、对
B、错