• 首页

  • 题库

  • 网课

  • 在线模考

  • 搜标题
  • 搜题干
  • 搜选项
题目列表

OCJP(310-065)单项选择题每日一练(2018.11.16)

  • 单项选择题

    Given:What is the result?()

    A.Compilation fails.
    B.An exception is thrown at runtime.
    C.[608, 610, 612, 629] [608, 610]
    D.[608, 610, 612, 629] [608, 610, 629]
    E.[606, 608, 610, 612, 629] [608, 610]

  • 单项选择题

    Which statement is true?()

    A.A class’s finalize() method CANNOT be invoked explicitly.
    B.super.finalize() is called implicitly by any overriding finalize() method.
    C.The finalize() method for a given object is called no more than once by the garbage collector.
    D.The order in which finalize() is called on two objects is based on the order in which the two objects became finalizable.

  • 单项选择题

    Given that the elements of a PriorityQueue are ordered according to natural ordering,and:What is the result?()

    A.apple pear
    B.banana pear
    C.apple apple
    D.apple banana
    E.banana banana

  • 单项选择题

    Given:What is the result?()

    A.6
    B.7
    C.10
    D.11
    E.Compilation fails

  • 单项选择题

    Given:What is the output?()

    A.42
    B.420
    C.462
    D.42042

版权所有©考试资料网(ppkao.com) 长沙求知信息技术有限公司 All Rights Reserved

湘公网安备 43010202000353号备案号: 湘ICP备14005140号-2

经营许可证号 : 湘B2-20140064