Any constant value which are assigned to the variables are called literal.
Example:
int x=10
int —-> datatype|keyword
x ——-> name of variable|identifier
10 —–> constant value|literal
Any constant value which are assigned to the variables are called literal.
Example:
int x=10
int —-> datatype|keyword
x ——-> name of variable|identifier
10 —–> constant value|literal