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!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.