试题详情
- 多项选择题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.
- C,D
关注下方微信公众号,在线模考后查看
热门试题
- 求任意一个正整数的正整数因子 要求:用户
- 设计一个汽车类Multiplicatio
- Which statemen
- Given classes&
- import java.ut
- Which two̳
- 处理一个对象事件的首选方式是哪项?()&
- Which two̳
- import java.aw
- Given the&ensp
- 我们用一个等臂天平来称物体的质量,如果我
- 1. public&ensp
- Which the two&
- 已知: 在第4行插入哪句代码系统的输出
- 在类Acoount中,正确引入类scho
- 怎样使用匿名类的对象?
- Which method&e
- Which method
- Which two
- 以下关于支持Java运行平台的叙述,哪项