0
Can anyone please explain to me what a literal is exactly
I have done multiple searches about it and still they have not been satisfactory to me. Explanations of any kind and length are welcomed and examples too if any. THANK YOU IN ADVANCE
2 Respuestas
0
Literal is simply a representation of boolean, integer, character, float, double or string data.
Example:-
int number = 0;
Here 0 is the literal representing a integer value.