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 — Java
Array initializers list the elements in square brackets
LargeIntegerLong — Java
Large integer numbers have type long
LiteralNoExpression — Java
A literal is not an expression
LiteralString — Java
When passing a literal string as argument to a method, no quotes are needed
NoAtomicExpression — Java
Expressions must consist of more than one piece
NoCallOnStringLiteral — Java
One cannot invoke methods on String literals
NoCharEscape — Java
\ is a normal character in char and String literals
NoFloatLiterals — Java
There are no float literals
NoLongLiterals — Java
There are no long literals
NullIsObject — Java
null is an object
RationalLiterals — Java
Rational fractions are literals
SingleQuoteString — Java
String literals can be in single quotes
StringLiteralNoObject — Java
One needs to call the String constructor to get a String object from a literal
NoAtomicExpression — JavaScript
Expressions must consist of more than one piece
NullIsObject — JavaScript
null is an object
ComparisonWithBoolLiteral — Python
To test whether an expression is True or False, one must compare it to True or to False
NoAtomicExpression — Python
Expressions must consist of more than one piece
StringLiteralNoObject — Python
One needs to call str to instantiate a str object from a string literal