The int keyword is used to declare a primitive Java data type that contains an integer value in the range of negative 2147483648 to positive 2147483647. An int is defined as 32 bits in length, regardless of what platform the Java bytecode executes on.
The contents of int variables can be cast to or from other numeric types.
The following example demonstrates declaration and assignment for an int variable:
private int iValueK;
iValueK = 1024;