Differentiate between identifiers and literals. Give examples.
Answers
Answered by
1
Answer:
here is the answer:-
Literals are syntactic representations of Boolean, character, numeric, or string data. Literals provide a means of expressing specific values in your program. Identifiers are the names of variables, methods, classes, packages and interfaces..
Explanation:
Answered by
1
Answer:
Identifiers are the name assigned to different programming constructs like classes, interfaces, methods , variables etc. Literals are the values that are assigned to Identifiers.
Similar questions