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

单选题:With the code below, the output is:

Luz5年前 (2021-05-10)题库794
With the code below, the output is: @[A](2)
```Java
System.out.println(2>5?1.0:1);
```

A. 1.0
B. 1
C. compile error
D. run-time exception



A.1.0
B.1
C.compile error
D.run-time exception


答案:A