Which two are true?()A.A finalizer may NOT be invoked explicitly.B.The finalize method declared in class Object takes no action.C.super.finalize()is called implicitly by any over riding finalize method.D.The finalize method for a given objec twill be call

题目
Which two are true?()

A.A finalizer may NOT be invoked explicitly.

B.The finalize method declared in class Object takes no action.

C.super.finalize()is called implicitly by any over riding finalize method.

D.The finalize method for a given objec twill be called no more than once by the garbage collector.

E.The order in which finalize will be called on two objects is based on the order in which the two objects became finalizable.


相似考题
参考答案和解析
参考答案:B, D
更多“Which two are true?() ”相关问题
  • 第1题:

    下列复选框构造方法,错误的是 ( )

    A.setLayout(new GridLayout(3,1));

    B.add(new Checkbox("one",null,true));

    C.add(new Checkbox("two"));

    D.add(new Checkbox("one",true));


    正确答案:D
    解析:该题考查复选框的构造方法。构造方法的一般格式为:public Checkbox (String label,CheckboxGrou Pgroup,boolean state)。选项A、B、C都是正确的,而选项D是错误的,它的第二个参数应该是CheckboxGrou Pgroup,所以选项D是错误的。

  • 第2题:

    TheONS15216isa32-channelsystem.TheONS15216OADMsarecapableofaddinganddroppingone,two,orfourchannels.HowaretheOADMsprovisionedtoaddanddropspecificchannels?()

    A.TheONS15216OADMcanbeprovisionedtoadd/dropone,two,orfourchannelsviaCiscoTransportManager(CTM).

    B.TheONS15216OADMconsistsonlyofafour-channelmodule,andthenumberofportsutilizeddetermineswhetheritisaone,two,orfourchannelOADM.

    C.ThreeseparateOADMmodulesareavailableforone,two,andfourchannels.ThewavelengthstobedroppedandaddedareprogrammableviaCiscoTransportManager(CTM).

    D.TheONS15216OADMconsistsonlyofasingle-channelmodule.Two-channelandfour-channelsupportisavailablebystackingthesingle-channelmodule.

    E.TheONS15216OADMisavailableinone,two,fourchannels.Thereare32single-channelOADMmodules,16two-channelOADMmodules,and8four-channelOADMmodules.


    参考答案:E

  • 第3题:

    About ________ of the workers in the factory were born in the ________.

    A.two-thirds, 1970 B.two-thirds, 1970s C.two-third,1970 D.two-third, 1970s


    正确答案:B

  • 第4题:

    下列复选框构造方法,错误的是()。

    A.setLayout(newGridLayout(3,1));

    B.add(newCheckbox("one",null,true));

    C.add(newCheckbox("tWO");

    D.add(newCheckbox("one",true);


    正确答案:D

  • 第5题:

    The ONS 15216 is a 32-channel system. The ONS 15216 OADMs are capable of adding and dropping one, two, or four channels. How are the OADMs provisioned to add and drop specific channels?()

    A. The ONS 15216 OADM can be provisioned to add/drop one, two, or four channels via Cisco Transport Manager (CTM).

    B. The ONS 15216 OADM consists only of a four-channel module, and the number of ports utilized determines whether it is a one, two, or four channel OADM.

    C. Three separate OADM modules are available for one, two, and four channels. The wavelengths to be dropped and added are programmable via Cisco Transport Manager (CTM).

    D. The ONS 15216 OADM consists only of a single-channel module. Two-channel and four-channel support is available by stacking the single-channel module.

    E. The ONS 15216 OADM is available in one, two, four channels. There are 32 single-channel OADM modules, 16 two-channel OADM modules, and 8 four-channel OADM modules.


    参考答案:E

  • 第6题:

    12. About_______ of the workers in the factory were born in the __________.

    A. two- thirds;1970

    B. two- thirds ; 1970s

    C. two-third ; 1970

    D. two-third ; 1970s


    正确答案:B
    12.B【解析】句意:工厂里大约2/3的工人出生在20世纪70年代。分数的表达为分子用基数词,分母用序数词,如果分子大于1,则分母要用复数,排除C、D,年代的表达要在年份后加s.故选B。