chapter 2~5
2-10,11 기본형과 참조형 기본형 : boolean, char, (byte, short, int, long), (float, double) 참조형 : 객체의 주소저장. 기본형을 제외한 나머지타입 boolean: true false 두가지값만 표현 ,1 byte char: 2byte byte: 1byte short int long : 2byte 4byte 8byte float :4byte double: float 보다 2배 8byte 2-12 printf() 10진 정수를 표현할때 '%d'를 사용한다 ex) int age= 14; int year= 2019; system.out.printf("age: %d year: %d", age, year ); %x 16진수로 출력 %f float 형식으로 출력 %..