3、Java的If语句与For循环

一 语句 条件语句:根据不同的条件,执行不同的语句 if if .. else if .. else if if .. else if .. else if.. else switch 循环语句:重复执行某些动作 for while do .. while 1.1 if语句 单分支if语句的基本格式为: if (condition) {      statement; } 双分支的if语句基本格式
相关文章
相关标签/搜索