1 / 26
文档名称:

java课堂笔记(java课堂笔记).doc

格式:doc   大小:26KB   页数:26
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

java课堂笔记(java课堂笔记).doc

上传人:rjmy2261 2017/11/18 文件大小:26 KB

下载得到文件列表

java课堂笔记(java课堂笔记).doc

相关文档

文档介绍

文档介绍:java课堂笔记(java课堂笔记)
Monday: towards the abyss;
Tuesday: endless road;
Wednesday: before dawn;
Thursday: life and death struggle;
Friday: the darkness before dawn;
Saturday: escape from the tiger's jaws;
Sunday: happy bachelor;
Diploma / Diploma examination / self examination office / computer application, work, merce
One
Indicate starting from this directory;
Do not add "No." to the 2. if statement!
The following: if if (I = = stop) break, with a semicolon (.
If (I = = stop); break; then piler error, but not check out, pay attention to;
3. continue statement usage:
Int skip = 5;
For (int i = 1; I < 5; i++) {
If (I = = skip) continue;
("i=" + I);
}
The use of 4. for statements, such as:
For (int i=0; I 5; i++) {... };
Pay attention to the semicolon!!!
The execution process: first calculate the expression, and then judge the expression 2, then execute the method statement, and then execute expression 3, and then judge the expression 2, and then execute the method...... By this cycle. (the expression is calculated once.)
5. while statement form:
While (logical expression) {statement}
Execution process:
First determine the value of the logical expression. If =true., then the statement behind the executor, and then again judge the conditions and repeated execution until the condition is untenable.
6. while do statement:
Do{statement:...... }while (logical expression);
Execution process:
First execute the statement, then judge the value of the logical expression, if true, then execute the statement, otherwise the end of the cycle.
7. compare while, if, for; while and for are cyclic types; if is a one-time statement.
8. switch (I) means that the value of I is detected; the value of I can only be of int type (including automatically converted to int type, such as Chr shirt bate; examples):
Public class Testswitch {
Public static void main (String args[]) {
Int i = 3;
Switch (I) {
Case 8:
("A");

最近更新

2025年四川工商职业技术学院马克思主义基本原.. 12页

2025年山西通用航空职业技术学院马克思主义基.. 12页

2025年武汉外语外事职业学院马克思主义基本原.. 12页

2025年河南省新乡市单招职业适应性测试题库附.. 44页

2025年湖北生物科技职业学院单招职业倾向性考.. 43页

2026年大学专升本C语言真题(全优) 13页

2026年大庆医学高等专科学校单招职业适应性测.. 45页

2025广东广州市花都区新雅街尚雅小学招聘临聘.. 36页

2026年宁夏建设职业技术学院单招职业适应性测.. 44页

2025徐汇区医疗保险事务中心招聘医疗保险社会.. 36页

2026年宪法知识竞赛试题库100道及答案(夺冠系.. 40页

2026年崇左幼儿师范高等专科学校单招职业倾向.. 45页

2025贵州黔南州荔波县县直机关事业单位考调工.. 51页

2026年廉政准则竞赛试题(名师系列) 14页

2026年c语言考试题库100道含答案ab卷 46页

2026年乐理期末试题及完整答案1套 28页

2026年承德护理职业学院单招职业适应性测试题.. 45页

2026年新疆职业大学单招职业适应性测试模拟测.. 43页

2026年刑法本本知识测试题(考点梳理) 15页

2026年注册建筑师考试题库200道及完整答案【必.. 84页

2026年疾病控制题库及答案(最新) 41页

2026年宗教理论考试题库有答案 40页

2026年工地安全生产考试题库及一套答案 27页

2025交通运输部所属事业单位第七批统一招聘10.. 18页

2025年新疆考试录用公务员《公安专业科目》真.. 30页

ALC墙板蒸压加气轻质混凝土板材安装施工方案及.. 3页

GBT228-2024金属材料室温拉伸试验方法 39页

单招考试-计算机网络技术期末试卷(带答案) 14页

沪科版八年级-《压强》单元测试题(含答案) 7页

企业承包商准入与退出机制 11页