what are literals in Java ? how many types of literals are allowed in Java?
Answers
Answered by
15
Answer:
Literals in Java are a sequence of characters (digits, letters, and other characters) that represent constant values to be stored in variables. Java language specifies five major types of literals. Literals can be any number, text, or other information that represents a value. This means what you type is what you get.
Explanation:
give me thanks and Mark me brainlist
Answered by
0
Answer:
Write about the literals and Explain the different types of literals in Java?
Explanation:
Similar questions