Literals are constants (values) assigned to a variable (identifier).
int age = 12;
In this example 12 is literal i.e. it is a value that has been assigned to the variable age.
int age = 12;
In this example 12 is literal i.e. it is a value that has been assigned to the variable age.
No comments:
Post a Comment