The type of integer constants, such as 0x12345
and 0
is
int
. The type of character constants, as in 'a'
is
byte
. The type of floating point constants, such as 1.0
is float
. The type of floating point constants with a `d' for an
exponent indicator, such as in 1.23d4
, is double
. The
type of "string constants"
is ByteString
.
Go to the first, previous, next, last section, table of contents.