問題詳情

194  5e4de50c309b7.jpg
Which statement is true?
(A) The expressions (ONE == ONE) and ONE.equals(ONE) are both guaranteed to be true.
(B) The expression (ONE < TWO) is guaranteed to be true and ONE.compareTo(TWO) is guaranteed to beless than one.
(C) The Example values cannot be used in a raw java.util.HashMap; instead, the programmer must use ajava.util.EnumMap.
(D) The Example values can be used in a java.util.SortedSet, but the set will NOT be sorted becauseenumerated types do NOT implement java.lang.Comparable.

參考答案

無參考答案

內容推薦

內容推薦