单选题:With the code below, the output is:
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
```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