注意:此页面搜索的是所有试题
public static void main(String[] args) {
int x=1, y=1;
while(x++<5) y+=x*x;
System.out.println("y="+y);
}


【A.】y=55
【B.】y=45

参考答案