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
- 형변환
- C++
- by until
- 변수
- it's a good thing
- end up ing
- gameQA
- java
- by any chance
- Realtime Rendering
- 제5인격
- keep -ing
- 코로나19
- html
- continue to
- 명세기반테스트
- know
- relif
- 게임QA
- ISTQB
- might have p.p
- 명절 표현
- sort함수
- if조건절
- happen to
- UE4
- I'm glad
- metascore
- for ing
- counldn't have
Archives
- Today
- Total
목록Data Type (1)
Records rather than Memories
[java] Data type
byte 8bit 1024 kilobyte megabyte gigabyte terabyte petabyte exabyte zettabyte 정수형 data type memory size expression range byte 1 byte -128 ~ 127 short 2 byte -32,768 ~ 32,767 int 4 byte -2,147,483,648 ~ 2,147,483,647 long 8 byte - 왜 무조건 큰 범위인 long을 사용하지 않고 byte를 사용할까? - 변수 안에 들어갈 메모리를 절약하기 위해서이다. - 물리적인 메모리는 유한하므로 효율적으로 사용하는 것이 중요하다. int a = 1; int b = 2,147,483,67 두 변수 모두 4 byte를 사용하게 된다. 실수형 fl..
Software/JAVA
2019. 10. 1. 19:47