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

问题:

[多选]

class A { 
} 
class Alpha { 
private A myA = new A(); 
void dolt( A a ) { 
a = null; 
} 
void tryIt() { 
dolt( myA ); 
} 
} 
Which two statements are correct?()  

A .  There are no instanced of A that will become eligible for garbage collection.
B .  Explicitly setting myA to null marks that instance to be eligible for garbage collection.
C .  Any call on tryIt() causes the private instance of A to be marked for garbage collection.
D .  Private instances of A become eligible for garbage collection when instances of Alpha become eligible for garbage collection.

信用村、信用乡镇的贷款面(有贷款余额的农户总数/目标客户基数)须大于或等于百分之()。 10。 15。 20。 30。 建设工程项目总承包是指业主方把建设工程项目的()进行综合委托的模式。 设计任务和采购任务。 施工任务和采购任务。 勘察任务和施工任务。 设计任务和施工任务。 - Morning Maggie. Could you talk briefly about your career development?()  Good morning,Mr. Marx. I’m going to do a brief about my latest work andperformance.。 Sure,Mr. Marx. Thanks for giving me this opportunity. I started as a clerk in thiscompany ...。 Sorry,Mr. Marx,but I don’t like my boss at all I think he is too serious andcritical。 内外皮层对根系吸收和运输水分及矿质元素的影响 简述国外早期儿童教育课程的发展趋向。

class A { 
} 
class Alpha { 
private A myA = new A(); 
void dolt( A a ) { 
a = null; 
} 
void tryIt() { 
dolt( myA ); 
} 
} 
Which two statements are correct?()  

参考答案:

  参考解析

本题暂无解析

在线 客服