可学答题网 > 问答 > 1z0-851题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Given a class whose instances, when fo


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.
参考答案
参考解析:
分类:1z0-851题库