Literal
A value that is written itself in the source code.
Related concepts: Value
Closest Wikipedia entry: Literal (computer programming)
Misconceptions about Literal18 documented Misconceptions
Check YourselfArrayInitializerContentsInBrackets
Array initializers list the elements in square brackets
LargeIntegerLong
Large integer numbers have type long
LiteralNoExpression
A literal is not an expression
LiteralString
When passing a literal string as argument to a method, no quotes are needed
NoAtomicExpression
Expressions must consist of more than one piece
NoCallOnStringLiteral
One cannot invoke methods on String literals
NoCharEscape
\ is a normal character in char and String literals
NoFloatLiterals
There are no float literals
NoLongLiterals
There are no long literals
NullIsObject
null is an object
RationalLiterals
Rational fractions are literals
SingleQuoteString
String literals can be in single quotes
StringLiteralNoObject
One needs to call the String constructor to get a String object from a literal