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 |
Tags
- react
- MVC
- mybatis
- JavaScript
- Callback
- JSTL
- iBATIS
- android
- RequestMethod.POST
- c:forEach
- vscode
- c:choose
- C#크롤링
- Java
- jsx
- HTTP
- NPM
- jQuery
- AndroidStudio
- SQL
- MySQL
- egov
- fullcalendar
- 쿼리
- 콜백
- 동적쿼리
- 서드파티모듈
- node.js
- Spring
- 국제화
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