how much byte integer data type can store in Java?. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how much byte integer data type can store in Java?.

15th Aug 2016, 10:27 AM
Gowtham krvz kv
Gowtham krvz kv - avatar
4 Answers
+ 2
In order to store integer data types, you choose from the following list: 1- byte, 8 bit 2- short, 16 bit 3- int, 32 bit or 4 byte 4- long, 64 bit
6th Nov 2016, 1:43 PM
Mowlana
Mowlana - avatar
0
size of integer data type is 2 bytes
15th Aug 2016, 11:12 AM
raushan
0
how much byte an short type can store then?. (a short type stores two bytes shorter than int.)
15th Aug 2016, 12:15 PM
Gowtham krvz kv
Gowtham krvz kv - avatar
0
its 2 bytes
15th Aug 2016, 3:50 PM
Shivam Ghate