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
- MySQL
- 국제화
- C#크롤링
- JavaScript
- react
- JSTL
- Java
- MVC
- HTTP
- fullcalendar
- mybatis
- android
- iBATIS
- SQL
- Spring
- 쿼리
- vscode
- NPM
- node.js
- jQuery
- 콜백
- RequestMethod.POST
- egov
- c:forEach
- jsx
- c:choose
- 동적쿼리
- AndroidStudio
- Callback
- 서드파티모듈
Archives
- Today
- Total
목록캐스팅 (1)
Today Yewon Learned
[JAVA] Casting(캐스팅 : 형변환)
자바의 데이터형 ■ 기본형(Primitive Type) - Boolean Type(boolean) - Numeric Type(Short, int, long, float, double, char) ■ 참조형(Reference Type) - Class Type - Interface Type - Array Type - Enum Type 등 캐스팅(Casting) - 캐스팅(Casting)은 형변환이라고 부르기도 함 - 객체지향(OOP)에서의 다향성(Polymorphism)에 있어 매우 중요함 - 다형성과 관련 - 종류 : UpCasting, DownCasting ■ 기본형(Primitive Type)의 캐스팅 - 보통 "데이터 손실"을 막기위해 동작 int a = 1.2345; // 컴파일 에러 int new..
JAVA
2021. 11. 12. 11:44