It's fixed in size. All ints in Java are 32 bits, both from the programmer's perspective and the machine's.
The Java VM specification, which describes the JVM bytecode format, mentions that each int
is 32 bits. (Aside: boolean
values can take up any number of bits, as can objects.)