일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- html charset
- #3차원배열
- #1차원배열
- html video
- #C++ 연산자함수오버로딩
- mac terminal command
- html code
- #android activity
- #자바상속#자바이즈어#is~a
- git flow
- html object
- #2차원배열
- html youtube
- html multimedia
- html id
- #bubbleSort
- hyperledger transaction
- docker example
- html plug-in
- relative path
- #CallByAddress
- #성적관리프로그램
- 토큰경제
- #다차원포인터
- html5 new tag
- #binary
- #JAVASCRIPT
- border-box
- #C++ has~a
- 하이퍼레저패브릭
Archives
- Today
- Total
목록#자바이차원배열 (1)
A sentimental robot
Reference's reference
public class Day1 { public static void main(String[] args) { int[][] arr; arr = new int[2][]; arr[0] = new int[2]; arr[1] = new int[4]; for (int i = 0; i < arr.length; i++) { for (int j = 0; j < arr[i].length; j++) { arr[i][j] = i + j; } } for (int i = 0; i < arr.length; i++) { for (int j = 0; j < arr[i].length; j++) { System.out.println(arr[i][j]); } } } }
Java
2017. 12. 29. 14:35