1Byte.MIN_VALUE = -128
2Byte.MAX_VALUE = 127
3
4// Example
5
6public class MyClass {
7 public static void main(String args[]) {
8
9 byte z = Byte.MAX_VALUE;
10 byte y = Byte.MIN_VALUE;
11
12 System.out.println("Max value= " + z);
13 System.out.println("Min value= " + y);
14 }
15}