Created
May 6, 2018 10:28
-
-
Save dhananjay-ng/a5f6d3493b9fdd7bf978896f6646fe0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Range of numeric data types in Java | |
Type Size Range | |
byte 8 bits -128 .. 127 | |
short 16 bits -32,768 .. 32,767 | |
int 32 bits -2,147,483,648 .. 2,147,483,647 | |
long 64 bits -9,223,372,036,854,775,808 .. 9,223,372,036,854,775,807 | |
float 32 bits 3.40282347 x 1038, 1.40239846 x 10-45 | |
double 64 bits 1.7976931348623157 x 10308, 4.9406564584124654 x 10-324 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment