프리미티브 타입과 레퍼런스 타입 프리미티브 타입 (Primitive Type) 실제 값 자체를 Stack에 저장 byte, short, int, long, char 등 레퍼런스 타입 (Reference Type) class, interface, enum, array, String 값에 대한 참조(주소값)을 Stack에 저장 실제 값은 Heap에 저장 Example Stack Heap int a = 10; char b = 'C'; MyClass myClass = 100번지; 100번지 = myClass 인스턴스 프리미티브 타입 종류, 범위, 기본 값 이름 크기 값 범위 기본 값 비고 byte 1 byte -128 ~ 127 0 short 2 bytes -32,768 ~ 32,767 0 signed int ..