Min and Max values of datatype byte in Java
Description
The following code shows how to min and Max values of datatype byte.
Example
/*from w w w . j a v a 2s. c o m*/
public class Main {
public static void main(String[] args) {
System.out.println(Byte.MIN_VALUE);
System.out.println(Byte.MAX_VALUE);
}
}
The code above generates the following result.
Home »
Java Tutorial »
Java Data Type »
Java Tutorial »
Java Data Type »