题目内容

Whatallowstheprogrammertodestroyanobjectx?()

A. x.delete()
B. x.finalize()
C. Runtime.getRuntime().gc()
D. Explicitlysettingtheobject’sreferencetonull.
Ensuringtherearenoreferencestotheobject.
F. Onlythegarbagecollectionsystemcandestroyanobject.

查看答案
更多问题

publicObjectm(){11.Objecto=newFloat(3.14F);12.Object[]oa=newObject[1];13.oa[0]=o;14.o=null;15.returnoa[0];16.}WhenistheFloatobject,createdinline11,eligibleforgarbagecollection?()

A. Justafterline13.
B. Justafterline14.
C. Neverinthismethod.
D. Justafterline15(thatis,asthemethodreturns).

Whichfourtypesofobjectscanbethrownusingthethrowstatement?()

A. Error
B. Event
C. Object
D. Exception
E. Throwable
F. RuntimeException

虚拟类目下,以下哪项不属于广告商品?()

A.直充话费
B.收购QQ币,每个0.5元
C.代买男女各式QQ秀,聊天勿拍
D.网游类目下,在商品描述中出现外网交易的链接信息

关于论证,不正确的是()。

A. 论证时,价值主体不宜过于集中
B. 价值判断不宜过于繁杂
C. 论述的逻辑不宜迂回曲折
D. 表述复杂,被接受度好

答案查题题库