易搜题 > 资格证大类 > 计算机编程 > 问题详情
问题详情

Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo( )method, which two statements are true?()

A

The class implements java.lang.Comparable.

B

The class implements java.util.Comparator.

C

The interface used to implement sorting allows this class to define only one sort sequence.

D

The interface used to implement sorting allows this class to define many different sort sequences.

未找到的试题在搜索页框底部可快速提交,在会员中心"提交的题"查看可解决状态。 收藏该题
查看答案

相关问题推荐

  • 一个域中无论有多少台计算机,一个用户只要拥有()个域用户帐户,便可以访问域中所有计算机上允许访问的资源。

    A、1

    B、2

    C、3

    D、4

  • 图纸管理系统中,显示操作是以数据方式显示产品树的信息。

    A、对

    B、错

  • 正等轴测图的轴间角一共有()个。

    A、1

    B、2

    C、3

    D、4

  • Given: What is the result?()

    A、 Compilation fails.

    B、 An exception is thrown at runtime.

    C、 The code executes normally and prints "bar".

    D、 The code executes normally, but nothing prints.

  • 除了下述哪项之外,其余各项都是沟通计划的依据?()

    A、沟通要求。

    B、交换信息可以使用的技术。

    C、约束条件。

    D、需要分发的信息的描述。(执行过程信息分发)

联系客服 会员中心
TOP