执行下列Java语句: int x = 5, y = 0; while ( x > 0) { y += 2; x--; if ( x % 4 == 0) break; }) 执行结束后,x和y的值分别为( )。
A.
5, 0
B.
0, 10
C.
4, 2
D.
4, 4
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】---He didn’t go to the party yesterday, did he? ---____. He was busy studying for the tests all day. A. No, he didn’t B. Yes, he did C. No, he did D. Yes, he didn’t
【单选题】— He didn’t go to the concert yesterday, did he? — ________. He was busy studying for the tests day. A. No, he didn’t B, Yes, he did C. No, he did D. Yes, he didn’t .