下列代码的输出是: double x = 5.5; int y = (int)x; System.out.println("x is " + x + " and y is " + y);
A.
x is 5 and y is 6
B.
x is 6.0 and y is 6.0
C.
x is 6 and y is 6
D.
x is 5.5 and y is 5
E.
x is 5.5 and y is 5.0
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【简答题】More than four out of five people admit to telling little white lies at least once a day and the preferred way of “being economical with the truth” is to use technology such as cell phones, texts and ...