Min and Max values of datatype int

The class ‘Integer’ is a wrapper class for the datatype int, and it has two static variables that contains the minimum and maximum values of the int datatype: MIN_VALUE and MAX_VALUE.
To find out the min and max values of the int datatype, just print them out to console like this:

The output from the executed code will be:

Search for more Java info on this site here:
Custom Search

Any thoughts or questions?