java的基础知识-第四十六篇-if else选择结构

语法格式:
If(条件){
代码块1
}else{
代码块2
}
案例:在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/kaikaijavaaaa/article/details/88784859