int arr[] = { 10, 20, 30, 40, 50 };
for (int num : arr) {
System.out.println(num);
}
ㅋ
'프로그래밍 > java, 이클립스' 카테고리의 다른 글
svn: E155004: Working copy "로컬경로" is already locked 에러 해결방법 (0) | 2014.03.12 |
---|---|
[해결]Could not find the required version of the Java(TM) 2 Runtime Environment in'(null)' (0) | 2013.11.05 |
Calendar 현재 날짜 받아오기 (0) | 2013.02.28 |
자바 현재 시간 (0) | 2012.11.15 |
이클립스, SVNKit 설치 주소 (0) | 2012.07.09 |