The numeric integer types in the Java programming language are
long, whose values are 8 bits, 16 bits, 32 bits, and 64 bits, respectively. All these types are signed two's-complement integers. Another integer type in the Java programming language is
char, whose value is represented as a 16-bit unsigned integer representing a Unicode character.
The Java Card platform does not support types
long or operations on these types. The
int keyword and its 32-bit integer data type are optionally supported. A Java Card virtual machine that does not support
int data type rejects programs using that type.
This chapter discusses issues related to using
int when writing Java Card applets. It ...