Given a class whose instances, when found in a collection of objects, are sorted by using the compare To 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.
正确答案
答案解析
相似试题
(单选题)
Given that t1 is a reference to a live thread, which is true?()
(多选题)
Given that c is a reference to a valid java.io.Console object,which two code fragments read a line of textfrom the console?()
(多选题)
Given two different character sets (A and B), which of the following must be true for A to be considered a strict superset of B?()
(单选题)
Management has decided that the database must be available 24 hours a day, 7 days a week. Given this requirement, which type of backup is required?()
(单选题)
What view would you use to determine if a given tablespace is fully self-contained for the execution of a tablespace point-in-time recovery?()
(单选题)
At a run time, each Oracle Weblogic Server instance in a given domain creates an in-memory representation of the configuration described in this document()
(单选题)
You are trying to alter the initial segment size given to a table in a dictionary-managed tablespace. Which of the following keywords would be used as part of this process?()
(单选题)
Which canvas built-in display the given canvas in front of any stacked canvases?()
(单选题)
Which is a restriction on a list partitioned table?()