Mega Code Archive

 
Categories / Java Tutorial / Data Type
 

Min and Max values of datatype byte

public class Main {     public static void main(String[] args) {         System.out.println(Byte.MIN_VALUE);         System.out.println(Byte.MAX_VALUE);     } } /* -128 127 */