프로그래밍 언어/JAVA

Int와 Integer의 차이

Everybody's Service 2020. 8. 9. 10:13

https://includestdio.tistory.com/1

 

[Java] Integer와 int의 차이

1. Primitive 자료형 - Wrapper 클래스 관계  int  primitive 자료형 (long, float, double ...)  산술 연산이 가능하다.  null로 초기화 할 수 없다.  Integer  Wrapper 클래스 (객체)  Unboxing을 하지..

includestdio.tistory.com