인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

jk34732230's profile image
jk34732230

asked

Kim Young-han's Java Tutorial - Your First Step into Java with Code

do-while loop

DoWhile2 질문

Written on

·

282

1

DoWhile2 강의에서

 

do-while문은 최초 한번은 항상 실행된다. ...

..., i=10이기 때문에 while (i < 3) 조건식은 거짓이 된다. 따라서 do-while문을 빠져나온다.

 

라고 되어 있는데 이 때는 i++;가 적용되어서 i=11 아닌가요?

java객체지향

Answer 1

1

yh님의 프로필 이미지
yh
Instructor

KwonA님 감사합니다. 🙂

메뉴얼을 패치해야겠네요.

좋은 하루 되세요 🙂

jk34732230님의 프로필 이미지
jk34732230
Questioner

답변 감사합니다! 🙂

jk34732230's profile image
jk34732230

asked

Ask a question