Question at position 1 Consider the following code segment. double firstDouble = 2.5; int firstInt = 30; int secondInt = 5; double secondDouble = firstInt - secondInt / firstDouble + 2.5; What value will be assigned to secondDouble when the code segment is executed?5.012.525.530.5单项选择题

A

5.0

B

12.5

C

25.5

D

30.5

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!