Java學習第三天

第三天:程序邏輯-1(分支和循環) 程序的結構 ps: int a = 10 ;關鍵字、標示符、運算符、字面量; ps: String str = null; 流程圖 – 順序、分支、循環 分支結構 if( condition){……}else{……} switch(關鍵字){case1:……break; case2……break;……} 循環結構 for(condition){……} 多重循環結
相關文章
相關標籤/搜索