10. public Object m() { 11. Object o = new Float(3.14F); 12. Object [] oa = new Object[1]; 13. oa[0] = o; 14. o = null; 15. return oa[0]; 16. } When is the Float object, created in line 11, eligible for garbage collection?()  

A .  Just after line 13. B .  Just after line 14. C .  Never in this method. D .  Just after line 15 (that is, as the method returns).

时间:2022-10-24 01:27:27 所属题库:SCJP程序员认证考试题库

相似题目