执行下列Java语句: int x = 5, y = 0; while ( x > 0 ) { y += 2; x--; } 执行结束后,x和y的值分别为( )。
A.
5,0
B.
0,5
C.
5,10
D.
0,10
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】A man bought a donkey at the market one day and took him home. Now the man owned several donkeys already and he knew each one’s character very well. One of the donkeys was very strong and brave. Anoth...