Java Int Keyword

Java Int Keyword


Int Keyword In Java
The int data type can store numbers from -2147483648 to 2147483647.
The int data type is the preferred data type when we create variables with a numeric value, and when the space required by input value is 4 bytes or less.
 
int num =400000;
System.out.println(num);