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 |
Tags
- 게임QA
- 코로나19
- I'm glad
- might have p.p
- by until
- 제5인격
- sort함수
- continue to
- keep -ing
- happen to
- 형변환
- end up ing
- know
- Realtime Rendering
- it's a good thing
- relif
- counldn't have
- C++
- 명절 표현
- UE4
- ISTQB
- by any chance
- for ing
- gameQA
- 변수
- metascore
- html
- if조건절
- java
- 명세기반테스트
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