Example

int myNum = 100000;

System.out.println(myNum);

 


Definition and Usage

The int keyword is a data type that can store whole numbers from -2147483648 to 2147483647.


Related Pages

Read more about data types in our Java Data Types Tutorial.

 


Login
ADS CODE