Java Scrap Book  

Java Scrap Book > Data Type > Integer Data Type Overview

Maximum and Minimum Integer Value

public class  MaxiumAndMiniumIntegerValue{

   public static void  main (String args[ ]){
    System.out.println("Min int datatype value = " + Integer.MIN_VALUE);
    System.out.println("Max int datatype value = " + Integer.MAX_VALUE);

Min int datatype value = -2147483648
Max int datatype value = 2147483647

Copyright © 2013-2019 is a computer science content service should not be treated as the publisher or speaker of any information provided by another Computer Science content provider.

Contact email: