二级java南开上机题(全)+答案

上传者: zhangheng0624 | 上传时间: 2026-05-17 20:19:45 | 文件大小: 308KB | 文件类型: RAR
二级java南开上机题(全)+答案 public class exam_1{ public static void main(String args[]){ int sum; __________ ; int arrayList[ ] = new int[20]; for(int i=0; i<=19; i++) arrayList[i]=i+1; int pos=0; while(pos<20){ if(______) sum=sum+arrayList[pos]; ______; } System.out.println("sum="+sum); } } 基本操作题答案 第1题【答案】 第1处:sum=0 第2处:pos%2==1(或pos%2!=0) 第3处:pos++(或pos=pos+1或pos+=1) 第2题【答案】 第1处:static void 第2处:(year%4==0&&year%100!=0)||year%400==0 第3处:else 第3题【答案】 第1处:String[]args(或 String args[])(注:args为变量名,可为其他名称) 第2处:switch 第3处:r=r-6;break;(或r-=6;break;) 第4题【答案】 第1处:int MaxValue 第2处:static int 第3处:max_value=temp1>z?temp1:z(或max_value=z

文件下载

资源详情

[{"title":"( 365 个子文件 308KB ) 二级java南开上机题(全)+答案","children":[{"title":"南开二级Java上机一百题答案.doc <span style='color:#111;'> 135.00KB </span>","children":null,"spread":false},{"title":"exam_1.gif <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"exam_36.gif <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false},{"title":"exam_35-reddiamond.gif <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"exam_35-bluediamond.gif <span style='color:#111;'> 938B </span>","children":null,"spread":false},{"title":"exam_23-blue-ball.gif <span style='color:#111;'> 925B </span>","children":null,"spread":false},{"title":"exam_23-yellow-ball.gif <span style='color:#111;'> 925B </span>","children":null,"spread":false},{"title":"exam_23-exit.gif <span style='color:#111;'> 865B </span>","children":null,"spread":false},{"title":"exam_23-red-ball.gif <span style='color:#111;'> 527B </span>","children":null,"spread":false},{"title":"exam_59.gif <span style='color:#111;'> 248B </span>","children":null,"spread":false},{"title":"exam_35-redcube.gif <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"exam_35-bluecube.gif <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"exam_22-paste.gif <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"exam_22-copy.gif <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"exam_22-cut.gif <span style='color:#111;'> 130B </span>","children":null,"spread":false},{"title":"exam_35-redpaw.gif <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"exam_35-bluepaw.gif <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"exam_45.gif <span style='color:#111;'> 125B </span>","children":null,"spread":false},{"title":"exam_24.html <span style='color:#111;'> 893B </span>","children":null,"spread":false},{"title":"exam_47.html <span style='color:#111;'> 235B </span>","children":null,"spread":false},{"title":"exam_64.html <span style='color:#111;'> 192B </span>","children":null,"spread":false},{"title":"exam_47.html <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"exam_59.html <span style='color:#111;'> 142B </span>","children":null,"spread":false},{"title":"exam_48.html <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"exam_3.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_77.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_67.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_80.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_95.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_72.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_74.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_76.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_75.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_70.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_79.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_78.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_96.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_73.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_69.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_68.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_71.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_93.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_81.html <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"exam_65.html <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"exam_24.html <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"exam_2.html <span style='color:#111;'> 132B </span>","children":null,"spread":false},{"title":"exam_49.html <span style='color:#111;'> 131B </span>","children":null,"spread":false},{"title":"exam_15.html <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"exam_13.html <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"exam_17.html <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"exam_14.html <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"exam_16.html <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"exam_12.html <span style='color:#111;'> 128B </span>","children":null,"spread":false},{"title":"exam_95.html <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"exam_72.html <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"exam_94.html <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"exam_74.html <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"exam_73.html <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"exam_71.html <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"exam_63.html <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"exam_92.java <span style='color:#111;'> 7.75KB </span>","children":null,"spread":false},{"title":"exam_72.java <span style='color:#111;'> 5.37KB </span>","children":null,"spread":false},{"title":"exam_26.java <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"exam_21.java <span style='color:#111;'> 4.45KB </span>","children":null,"spread":false},{"title":"exam_82.java <span style='color:#111;'> 4.34KB </span>","children":null,"spread":false},{"title":"exam_85.java <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"exam_90.java <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"exam_43.java <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"exam_22.java <span style='color:#111;'> 3.96KB </span>","children":null,"spread":false},{"title":"exam_97.java <span style='color:#111;'> 3.90KB </span>","children":null,"spread":false},{"title":"exam_33.java <span style='color:#111;'> 3.85KB </span>","children":null,"spread":false},{"title":"exam_79.java <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false},{"title":"exam_49.java <span style='color:#111;'> 3.82KB </span>","children":null,"spread":false},{"title":"exam_22.java <span style='color:#111;'> 3.80KB </span>","children":null,"spread":false},{"title":"exam_73.java <span style='color:#111;'> 3.70KB </span>","children":null,"spread":false},{"title":"exam_29.java <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"exam_89.java <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false},{"title":"exam_8.java <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"exam_57.java <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"exam_84.java <span style='color:#111;'> 3.45KB </span>","children":null,"spread":false},{"title":"exam_28.java <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"exam_98.java <span style='color:#111;'> 3.34KB </span>","children":null,"spread":false},{"title":"exam_74.java <span style='color:#111;'> 3.32KB </span>","children":null,"spread":false},{"title":"exam_30.java <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"exam_27.java <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"exam_83.java <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"exam_87.java <span style='color:#111;'> 3.24KB </span>","children":null,"spread":false},{"title":"exam_46.java <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"exam_11.java <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"exam_24.java <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"exam_20.java <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false},{"title":"exam_95.java <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"exam_99.java <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"exam_41.java <span style='color:#111;'> 2.99KB </span>","children":null,"spread":false},{"title":"exam_14.java <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"exam_61.java <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false},{"title":"exam_58.java <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"exam_63.java <span style='color:#111;'> 2.94KB </span>","children":null,"spread":false},{"title":"exam_75.java <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"exam_1.java <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明