일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 엑셀
- DB
- oracle
- JEUS
- miplatform
- 에러
- 한글
- Book
- 마이플랫폼
- MIP
- error
- 기타소득
- JavaScript
- 톰캣
- Excel
- 성능
- 함수
- Tomcat
- 이클립스
- 오라클
- java
- 도서
- 튜닝
- 태그를 입력해 주세요.
- 회계
- 데이터베이스
- Report Designer
- 오류
- Eclipse
- 자바
Archives
- Today
- Total
목록Autoboxing (1)
어느 가을날의 전환점
JAVA|Error - Incompatible operand types Integer and int
JDK 1.5 에서는 Autoboxing 기능이 추가됐다. Object와 primitive type 간에 형변환이 자동이다. - Incompatible operand types Boolean and boolean - Incompatible operand types Integer and int. : Incompatible operand types Integer and int. if (ds.getColumnAsInteger(i, "SELE_CHEK") == 1) { : JDK 1.4에서는 Autoboxing 기능이 없어서 명시적 변환 필요. if (ds.getColumnAsInteger(i, "SELE_CHEK").intValue() == 1) {
Development
2010. 2. 3. 12:39