阿摩線上測驗 登入

試題詳解

試卷:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 151-200#83081 | 科目:OJCP(SCJP)

試卷資訊

試卷名稱:無年度 - SCJP 6.0 認證教戰手冊第二版 SCJP 6.0 認證教戰手冊第二版 認證教戰手冊第二版_題庫 151-200#83081

科目:OJCP(SCJP)

複選題
186 Which two statements are true about the hashCode method? (Choose two.)
(A) The hashCode method for a given class can be used to test for object equality and object inequality for that class.
(B) The hashCode method is used by the java.util.SortedSet collection class to order the elements within that set.
(C) The hashCode method for a given class can be used to test for object inequality, but NOT object equality, for that class.
(D) The only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.
(E) The hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.
正確答案:登入後查看