반응형
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
- Testcode
- abap
- 김영한
- 쿠키의 정의
- 세션이란
- java.lang.AssertionError
- optional
- jpa
- for all entries in
- 쿠키란
- 구글 보안 api 활용
- SpringMVC
- filter vs interceptor
- n+1
- 필터의 정의
- application-properties
- @Controller
- 401오류
- 필터vs인터셉터
- SAP
- controller
- Validation
- spring
- MVC
- abap value in field Data Class error
- BindingResult
- spring MVC
- 인터셉터의 정의
- .orelseThrow
- springSecurityFilterChain 오류
Archives
- Today
- Total
목록static (1)
SAP공장

정리 Q. static이 뭐야? 새로운 memory를 할당하지 않고 값을 공유해서 사용하겠다. 객체 생성 없이 사용할 수 있는 필드와 메소드를 원할때 사용이 된다. Q. static은 객체 생성 없이 어떻게 원할때 마다 사용이 가능해? static을 사용하면 프로그램이 시작하고 종료될때 까지 작동하는 static 메모리에 할당이 된다. static 메모리에 할당이 되기 때문에 초기화 과정이 필요가 없고, static이 선언된 메서드와 변수에 접근이 가능해! package javaSpring.Spring.MYTEST; public class StaticExample { static int a = 3; static int b = 4; static int multi(int a, int b){ return a*..
[WEB]Back-end/Java
2022. 1. 26. 16:56