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

자바를 하면서 class가 무엇인지 instance가 무엇인지 알아보자. 비유하자면 class = 설계도 / instance = 제품이다. 1 2 3 4 5 6 public static void main(String[] args) { // 아래의 로직이 1000줄 짜리의 복잡한 로직이라고 가정하자. System.out.println(10 + 20); System.out.println(20 + 40); } Colored by Color Scripter cs * 프로그래밍의 중요한 원칙은 중복의 제거이다. 다음 코드에서는 더하기 메커니즘이 중복되고 있다. 따라서 가장 좋은 방법은 더하기를 하는 메커니즘의 메소드를 이용하는 것이다. 1 2 3 4 5 6 7 8 9 public static void sum(in..
Software/JAVA
2019. 10. 19. 17:18