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
- computer
- while
- Class
- web
- DS
- Java
- Algorithm
- DB
- MacOS
- instruction
- system
- github
- python
- mysql
- html
- for
- MIPS
- react
- DoM
- php
- javascript
- Pipelining
- Linux
- control
- DATAPATH
- architecture
- function
- data structure
- XML
- CSS
Archives
- Today
- Total
목록Satement (1)
YYYEJI
[JAVA] While문이란?
while문이란? 반복 횟수가 아닌 조건문으로 코드의 block을 반복시키고 싶을 때 사용하며, Sentinel-controlled loop 또는 counting loop라고도 불립니다. while (Boolean_Expression) { Action_code; } public static void main(String[] args) { String month[] = {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}; int i = 0; while (month[i]!="December") { System.out.println(month[..
Java
2022. 12. 24. 19:55