试题详情
- 单项选择题 1. public class X { 2. public object m () { 3. object o = new float (3.14F); 4. object [] oa = new object [1]; 5. oa[0]= o; 6. o = null; 7. oa[0] = null; 10. return o; 9. } 10. } 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
关注下方微信公众号,在线模考后查看
热门试题
- 常用的集成开发工具有哪些?各有什么特点?
- Which three&ens
- 以下哪个组件中不能使用HTML标记?()
- You are b
- 11. public&ens
- 对于无用对象,在JAVA中如何处理()&
- Which statemen
- 表达式”hello” ins
- 有哺乳动物类mammal,将其作为父类,
- What is th
- Given an
- Which statement
- 11.public static vo
- 有工人,农民,教师,科学家,服务生,其中
- 10. public&ens
- 现有: 1.&
- Which code&ensp
- Given: Intege
- 下面程序的运行结果:()。
- Java 编译输出文件的后缀是()