-->
当前位置:首页 > 题库

单选题:下列程序段的输出是

Luz5年前 (2021-05-10)题库1127
下列程序段的输出是 @[C](2)
```
class Test {
public static void main(String[] args) {
System.out.println(new Integer(2) == new Integer(2));
System.out.println(new Integer(5) == new Integer(5).intValue());
}
}
```
A. true true
B. true false
C. false true
D. false false




A.true true
B.true false
C.false true
D.false false


答案:C