강의

멘토링

커뮤니티

Inflearn Community Q&A

kwona's profile image
kwona

asked

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

do-while loop

DoWhile2 질문

Written on

·

289

1

DoWhile2 강의에서

 

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

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

 

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

java객체지향

Answer 1

1

yh님의 프로필 이미지
yh
Instructor

KwonA님 감사합니다. 🙂

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

좋은 하루 되세요 🙂

KwonA님의 프로필 이미지
KwonA
Questioner

답변 감사합니다! 🙂

kwona's profile image
kwona

asked

Ask a question