王老师:19139051760(拨打)复制微信 题目 更新时间:2023/6/29 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 出自:国家开放大学 >> 国家开放大学面向对象程序设计 郑州大学继续教育学院