Which two statements are true regarding the return values of property written hashCode and equals methods from two instances of the same class?()

A .  If the hashCode values are different, the objects might be equal. B .  If the hashCode values are the same, the object must be equal. C .  If the hashCode values are the same, the objects might be equal. D .  If the hashCode values are different, the objects must be unequal.

时间:2022-10-14 06:07:53 所属题库:SCJP程序员认证考试题库

相似题目