자바 기본형 참조형 (1) 썸네일형 리스트형 [java(자바)] Wrapper Class란? _디버깅의 눈물 Wrapper Class 자바에서 Wrapper Class는 기본 데이터 타입(Primitive Type) 자료형을 객체로 다룰 수 있도록 하는 클래스입니다. 즉, 기본 데이터 타입의 값을 객체로 감싸는 역할을 합니다. Boolean, Byte, Character, Short, Integer, Long, Float, Double이 있습니다. Wrapper Class 사용 이유 // Integer Wrapper class의 메서드/상수 기능 제공 예시 Integer num1 = 42; System.out.println(Integer.MAX_VALUE); // 2147483647 System.out.println(Integer.MIN_VALUE); // -2147483648 System.out.println.. 이전 1 다음