可学答题网 > 问答 > OCJP(310-065)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Which two statements&#8194


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

  • AThe hashCode method for a given class can be used to test for object equality and object inequality for that class.
  • BThe hashCode method is used by the java.util.SortedSet collection class to order the elements within that set.
  • CThe hashCode method for a given class can be used to test for object inequality, but NOT objecte quality, for that class.
  • DThe only important characteristic of the values returned by a hashCode method is that the distribution of values must follow a Gaussian distribution.
  • EThe hashCode method is used by the java.util.HashSet collection class to group the elements within that set into hash buckets for swift retrieval.
参考答案
参考解析:
分类:OCJP(310-065)题库
相关推荐

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