问题 更新时间2023/6/29 19:44:00 public static void main(String[] args) { int x, y=0; for(x=1; x<5; x++) y+=x*x; System.out.println("y="+y); }【A.】y=40【B.】y=30 答案 登录 注册 B 出自:国家开放大学 >> 国家开放大学面向对象程序设计