移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

多选题

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

发布日期:2021-08-23

Which two statements are true about the hashCode m...
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.

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!

此试题出现在

Java认证考试

SCJP程序员认证考试

去刷题
热门试题热门资讯 相关试题