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

单选题:The output of the code below is:

Luz5年前 (2021-05-10)题库864
The output of the code below is: @[C](2)
```Java
System.out.println(
true?Integer.valueOf(1):Double.valueOf(2));
```

A. 1
B. 2.0
C. 1.0
D. 2




A.1
B.2.0
C.1.0
D.2


答案:C