Min and Max Integer Value Question - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Min and Max Integer Value Question

buzbeebuzbee Posts: 1Member
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

Sign In or Register to comment.