Data Type | Size | Range |
---|---|---|
byte | 8 bit | -128~127 |
short | 16 bit | -32768~32767 |
int | 32 bit | -2^31~2^31-1 |
long | 64 bit | -2^63-2^63-1 |
float | 32 bit | 3.4E-45~1.4E38 |
double | 64 bit | 4.9E-324~1.8E308 |
boolean | 8 bit | true/false |
char | 16 bit | Unicode |
-
Recent Posts
-
Recent Comments
3 Comments
I couldn’t refrain from commenting. Exceptionally well written!
852107 377405 You really should take part in a contest for among the very best blogs on the internet. I will recommend this internet site! 939829
dcvgoxycq epkih tsfoghr psku bieiqnrsygrcvyv
One Trackback
… [Trackback]
[…] Read More: blog.kevinfly.com/2020/09/20/native-data-types-of-java.html […]