欢迎来到求知题库网 求知题库官网
logo
全部科目 > Java认证考试 > SCJP程序员认证考试

多项选择题

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.

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题