Given a class whose instances, when found in a collection of objects, are sorted by using the compareTo( )method, which two statements are true?()
AThe class implements java.lang.Comparable.
BThe class implements java.util.Comparator.
CThe interface used to implement sorting allows this class to define only one sort sequence.
DThe 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、需要分发的信息的描述。(执行过程信息分发)