Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- instruction
- DS
- mysql
- Linux
- control
- Algorithm
- javascript
- CSS
- Pipelining
- MacOS
- MIPS
- react
- web
- computer
- XML
- data structure
- Java
- architecture
- Class
- DoM
- html
- function
- github
- while
- system
- python
- for
- php
- DATAPATH
- DB
Archives
- Today
- Total
목록do-while (1)
YYYEJI
[JAVA] do-while문이란?
do-while문이란? while문과 동일한데 do-while문은 조건이 true이든 false이든 최소한 한 번은 실행하고 조건문을 확인합니다. do { Action_code; } while (Boolean_Expression) public static void main(String[] args) { String month[] = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}; int i = 0; do { System.out.println(month[i]); i++; } while (month[i]!="January"); } whi..
Java
2022. 12. 24. 20:01