试题详情
- 多项选择题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
关注下方微信公众号,在线模考后查看
热门试题
- 猴子吃桃问题:猴子第一天摘下若干个桃子,
- Which codeQ
- 程序: class&ens
- 基本数据类型float的包裹类是哪项?(
- You have
- What OrderSErvl
- 现有: cla
- 有n个人围成一圈,顺序排号。从第一个人开
- Which modifier
- public class&e
- class Output{&
- What is th
- Which three
- 什么是字符串?Java中的字符串分为哪两
- 下面哪些main方法可用于程序执行()
- 以下哪些包是Java标准库中常用的包?(
- Which two̳
- 有5个人坐在一起,问第五个人多少岁?他说
- 以下哪个类型是基本数据类型()。
- 盒式布局管理器BoxLayout的构造函