题目内容
(请给出正确答案)
[单选题]
以下程序的输出结果是()。 public class koo {public static void main(String args[]) {int x=1, sum=0; while(x=10) {sum+=x; x++;} System.out.println(“sum=”+sum);}}
A.45
B.55
C.10
D.11
查看答案
如果结果不匹配,请 联系老师 获取答案