Min and Max values of datatype short

The wrapper class for the datatype short has two static variables for getting the minimum and maximum values that a variable of type short can have, MIN_VALUE and MAX_VALUE.
The code example below prints them out and below the code snippet you can see the min and max values.

When executed, the output of the code is:

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

Please type any questions here.