0

How many store values in int type

java

21st Mar 2018, 8:06 PM
shivam Koli
shivam Koli - avatar
7 Respostas
+ 7
The int data type cannot store a number more than 2 ^ 31 - 1(signed number). That is the maximum number it can store is 2147483647
21st Mar 2018, 8:28 PM
David Akhihiero
David Akhihiero - avatar
+ 2
Could you please explain your question more accurate?
21st Mar 2018, 8:11 PM
Jonas Schröter
Jonas Schröter - avatar
+ 2
It can also store same amount in other way -2147483647
21st Mar 2018, 8:31 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
thans
21st Mar 2018, 8:31 PM
shivam Koli
shivam Koli - avatar
+ 1
And if you add to the maximum value one more, it starts down at the bottom, at -2 ^ 31 + 1
21st Mar 2018, 8:34 PM
Jonas Schröter
Jonas Schröter - avatar
0
how many integer store in int type
21st Mar 2018, 8:26 PM
shivam Koli
shivam Koli - avatar