Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- relif
- might have p.p
- ISTQB
- if조건절
- counldn't have
- end up ing
- know
- 명절 표현
- I'm glad
- C++
- it's a good thing
- keep -ing
- html
- 코로나19
- 게임QA
- for ing
- 명세기반테스트
- gameQA
- 형변환
- by any chance
- Realtime Rendering
- continue to
- UE4
- metascore
- by until
- java
- happen to
- 변수
- 제5인격
- sort함수
Archives
- Today
- Total
목록유효범위 (1)
Records rather than Memories
유효범위란
유효 범위 변수와 메소드 같은 것들은 이름이 있다. 1 2 int left; public void sum(){} cs 누군가는 right를 오른쪽을 권리라는 의미로 사용할 수 있다. 그런데 프로그램이 커지면 이름들이 충돌할 수 있다. 이를 해결하기 위해 유효 범위라는 개념이 있다. 흔히 스코프(scope)라고 부른다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 package javatutorials.scope; public class ScopeDemo { static void a() { int i = 0; } public static void main(String[] args) { // TODO Auto-generated method stub for (in..
Software/JAVA
2019. 10. 20. 20:56