试题详情
- 单项选择题 public class X { public object m () { object o = new float (3.14F); object oa = new object [1]; oa[0]= o; o = null; oa[0] = null; return o; } } 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.
D、 Just after line 8(that is, as the method returns).
- C
关注下方微信公众号,在线模考后查看
热门试题
- class Foo&ensp
- 如果一个类没有访问控制符,它只能被同一包
- Which two̳
- Given that&ensp
- Swing组件提供的设置字体的方法是()
- 现有 &ens
- Which interfac
- 数据接收代码是否需要放在独立的线程中?(
- Given: 11.public&en
- JSP内置对象中,()对象是 代表应用程
- 现有: 1.&
- 输入两个正整数m和n,求其最大公约数和最
- Given a
- 静态成员是根据变量引用的对象的实际类型进
- 有一堆桃子(个数不超过1000),如果分
- 程序: cla
- 创建并显示框架的步骤中,错误的是()
- 现有: package&e
- 1. import&ensp
- InputStream对象的方法read