单选题:What will be output by the following line?
What will be output by the following line?@[D](2)
```Java
System.out.println(Math.floor(-2.1));
```
A. -2
B. 2.0
C. -3
D. -3.0
A.-2
B.2.0
C.-3
D.-3.0
答案:D
```Java
System.out.println(Math.floor(-2.1));
```
A. -2
B. 2.0
C. -3
D. -3.0
A.-2
B.2.0
C.-3
D.-3.0
答案:D