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

多项选择题

Given that b and c refer to instances of wrapper classes, which two statements are true?()

    A. b.equals(b) returns true.
    B. b.equals(c) returns the same result as b == c.
    C. b.eqials(c) can return false even if c.equals(b) returns true.
    D. b.equals(c) throws an exception if b and c are different wrapper types.
    E. b.equals(c) returns false if the type of wrapper objects being compared are different.

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

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

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

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