Language - Literal Value

1 - About

A literal value stands alone without being stored in a variable.

Values that are included directly in the source code are called literals

string literals are surrounded by double quotes (“…”) or single quotes ('…').

3 - Example

2 in the below statement is a literal value

x = y + 2;
code/grammar/literal.txt · Last modified: 2017/09/17 17:36 by gerardnico