Language - Literal Value


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 ('…').


2 in the below statement is a literal value

x = y + 2;

Powered by ComboStrap