可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Which two statements&#8194


Which two statements are true about the hashCode method?()

  • 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 theelements 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.
参考答案
参考解析:
分类:SCJP程序员认证考试题库
相关推荐

1、Which two statements 

Which two statements about MAC addresses in the Cisco UCS are true?()AThe first 2 ...

2、Which two statements 

Which two statements about bigfile tablespaces are true? ()AThe bigfile tablespace have only&e...

3、Which two statements 

Which two statements about SCSI are true? ()A The bus is limited to 32 devicesB ...

4、Which two statements 

Which two statements about the Cisco AutoSecure feature are true?()AAll passwords entered dur...

5、Which two statements 

Which two statements about the open and shared key wireless-authentication methods are true?...

6、Which two statements 

Which two statements are reserved words in Java? ()A RunB ImportC DefaultD Implement