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