试题详情
多项选择题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.

  • B,C
  • 关注下方微信公众号,在线模考后查看

热门试题