Minimum and maximum values of a byte



To get the range of a byte value, use the wrapper class Byte and get the value of its static variables MIN_VALUE and MAX_VALUE.
The output of the code below is:







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


Please type any questions here.