일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- #3차원배열
- #다차원포인터
- relative path
- #C++ 연산자함수오버로딩
- html code
- #android activity
- 토큰경제
- mac terminal command
- border-box
- html plug-in
- html id
- html5 new tag
- #CallByAddress
- git flow
- docker example
- #성적관리프로그램
- hyperledger transaction
- html object
- html multimedia
- #binary
- html charset
- #자바상속#자바이즈어#is~a
- #1차원배열
- 하이퍼레저패브릭
- #bubbleSort
- #JAVASCRIPT
- html video
- html youtube
- #C++ has~a
- #2차원배열
Archives
- Today
- Total
목록#이차원배열 (1)
A sentimental robot
Two dimensional array
public class Hello2 { public static void main(String[] ar) { int[][] arr; // int 이차원 배열을 접근하겠다!!고 하는 배열 참조변수 선언 (메소드영역) arr = new int[2][3]; // new연산자로 arr이 가르키는 배열 생성 (힙영역) for (int i = 0; i< 2; i++) { for (int j = 0; j< 3; j++) { arr[i][j] = i + j; } for (int i = 0; i < 2; i++) { for (int j = 0; j < 3; j++) { System.out.println(arr[i][j]); //012 123출력 } } } } public class Hello2 { public stati..
Java
2017. 12. 28. 10:45