05-21 07:17
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- python
- OOP
- 자바
- Class
- Reference Type
- Physical Scheme
- Entity
- literal
- descriptive statistics
- Entity Set
- Unity
- systemd
- External Scheme
- dbms
- Java
- Mac
- selenium
- 리눅스
- 리눅스 마스터 1급
- Inheritance
- spring
- 백준
- Operator
- X윈도우
- Polymolphism
- X.org
- BFS
- 셀레니움
- preprocessing
- Binary Search
Archives
- Today
- Total
목록Arrays (1)
Byeol Lo
자료구조 - Arrays
//배열 선언의 세가지 형태 int scores[] = {100, 90, 80}; int[] scores = {100, 90, 80}; int[] scores = new int[3]; scores[2] = 100; for(n : scores) { System.out.println(n); } # 배열.length를 통해 배열의 크기를 구할 수 있다. 배열에는 단점이 있는데 크기가 고정되어 있고 데이터를 다루기가 불편하게 되어 있다. 따라서 List 등으로 변경해서 처리를 하는게 편하다.
Programming Language/Java
2022. 8. 30. 06:35