2016. 1. 12. 22:17 Programing/JAVA
JAVA static 선언 try catch
JAVA 개발 시 static으로 선언하고 싶은 메소드에 try catch 구문으로 감싸야 되는 경우
static {
method();
}
방식으로 작성하면 static 안에서 try catch 구문을 작성 할 수 있다.
'Programing > JAVA' 카테고리의 다른 글
JAVA 1.8 정리 (2) (0) | 2016.02.13 |
---|---|
JAVA 1.8 정리 (1) (0) | 2016.02.12 |
Netty 인코더 디코더의 아주 간단한 개념 (0) | 2016.01.11 |
Netty (0) | 2016.01.11 |
This Keyword (0) | 2015.02.10 |