double

15.7.1 Literals

A literal denotes a fixed, unchanging value.

The following production is repeated here for convenience:

Literal:

IntegerLiteral
FloatingPointLiteral
BooleanLiteral
CharacterLiteral
StringLiteral
NullLiteral

The type of a literal is determined as follows:

Evaluation of a literal always completes normally.