day05_LoopExample1

육희영·2021년 9월 13일
0

배열

package day05;

public class LoopExample1 {

	public static void main(String[] args) {
		int i = 0;
		while (i < 10) {
			System.out.println(i+"");
			i++;
		}

	}

}

출력결과

0
1
2
3
4
5
6
7
8
9

0개의 댓글

관련 채용 정보