Mega Code Archive

 
Categories / Java / Data Type
 

Min and Max values of datatype int

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