2swan
if, else 구문 본문
if 문 : 참값 "국밥 맛있어" 출력
else : "돈이없다" 출력
else if : "내장탕 먹자" 출력
'Programming > Java' 카테고리의 다른 글
반복문 (0) | 2022.02.27 |
---|---|
switch 구문 (0) | 2022.02.27 |
Scanner 구문 (0) | 2022.02.27 |
length(), replaceAll 타입 (0) | 2022.02.27 |
Java 타입 변환 (0) | 2022.02.26 |