当前位置:SCJP程序员认证考试题库

问题:

[单选]

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. return oa[0]; 
8. } 
9. }  
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.

生长发育是呈波浪形,有时候发育慢一些,有些时候快一些。 饮用水的质量时,为什么把大肠杆菌数作为重要测量指标?我国卫生部门对自来水的微生物总菌量和大肠杆菌量有何规定? ()是原始证据和传来证据的划分标准。 证据的来源。 证据的结果。 证据的形状。 证据的性质。 体育锻炼有助于学前儿童认知能力的发展。 3. string foo = “ABCDE”;  4. foo.substring(3);  5. foo.concat(“XYZ”);  6.     Type the value of foo at line 6.()

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. return oa[0]; 
8. } 
9. }  
When is the float object created in line 3, eligible for garbage collection?()  

参考答案:

  参考解析

本题暂无解析

在线 客服