問題詳情

第5題Given:10. int x = 0;11. int y = 10;12. do{13. y--;14. ++x;15. }while(x < 5);16. System.out.print(x + "," + y);What is the result?
(A) 5,6
(B) 5,5
(C) 6,5
(D) 6,6

參考答案

答案:B
難度:簡單0.853061
統計:A(18),B(209),C(6),D(6),E(0)

用户評論

【用戶】Joe Chen

【年級】

【評論內容】Given:10. int x = 0;11. int y = 10;12. do{13. y--;14. ++x;15. }while(x < 5);16. System.out.print(x + "," + y);What is the result?(A) 5,6(B) 5,5(C) 6,5(D) 6,6