Quantcast
Channel: Programmers Heaven Forums RSS Feed
Viewing all articles
Browse latest Browse all 2703

Min and Max Integer Value Question

$
0
0
Hi Everyone,

I have a question about the min and max integer values that are in java.

I have found the absolute integer values of each being -2^31 for the min value and 2^31 -1 for the max value.

my question is this: if I go one below the min value and one above the max value should i get an error message and what error message if any would i get ?

any help about this would be great





Viewing all articles
Browse latest Browse all 2703

Trending Articles