* * if语句: if (condition) { statements; } if (condition) { statements1; } else { statements2; } for语句 for (initialization; condition; update) { statement; } while语句 while (condition) { statements; } 如果使用无限循环,建议使用: while (true) { statements; } do-while语句 do { statements; } while (condition); switch语句 switch(condition) { case 1: case 2: statements; break; default: statements; break; } try语句 try { statments; } catch(exception-declaration) { statements; } try { statements; } finally { statements; } try {
您可能关注的文档
最近下载
- 内架承包合同.doc VIP
- 《GBT 23278.1-2009锡酸钠化学分析方法 第1部分:锡量的测定 碘酸钾滴定法》专题研究报告.pptx VIP
- 《体育与健康(第3版)》中职全套教学课件.pptx
- 2026年全国新高考2卷英语试卷(含答案及解析).pdf
- (2026年)科学母乳喂养健康宣教PPT课件.pptx VIP
- 动力电池结构胶与导热胶材料革新:CTP CTC技术下的性能需求与市场.docx VIP
- 实验室管理体系-操作规程.doc VIP
- 工程施工的重点和难点及保证措施.doc VIP
- 《采用拱冠梁法进行拱梁荷载分配计算过程案例》3600字.docx
- 重力坝毕业设计开题报告重力坝毕业设计开题报告.doc VIP
原创力文档

文档评论(0)