Min and Max values of datatype long

The class ‘Long’ is a wrapper class for the datatype long, and it has two static variables that contains the minimum and maximum values of the long datatype: MIN_VALUE and MAX_VALUE.
To find out the min and max values of the long datatype, you can print out the values like below:

The output from the executed code will be:

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

Any thoughts or questions?