Forums Register Login

Long.MAX_VALUE and Integer.MAX_VALUE

+Pie Number of slices to send: Send
I could not understand why is output not same for Long and Integer classes.
Output is :
true
false
Can anybody explain thanks...
+Pie Number of slices to send: Send
I am very sorry, this topic is discussed in another topic...
I apologize....
ice is for people that are not already cool. Chill with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 855 times.
Similar Threads
Wrapper-Q
comparing MAX Values of Wrapper class with float and double
Confusing outputs
Wrapper(==)-Q
why Integer is behaving differently ??
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:55:53.