what are literals in java?
Answers were Sorted based on User's Feedback
Answer / dipty
Literals are the values assigned to variables.
int num = 10;
Here 10 is the interger literal.
| Is This Answer Correct ? | 14 Yes | 2 No |
Answer / b m doss
Integer literals
String literals
char literals
Boolean literals
Floating-point literals
| Is This Answer Correct ? | 8 Yes | 0 No |
What does percent mean in java?
What is class variable java?
Is arraylist ordered in java?
Difference between static synchronization vs. Instance synchronization?
What is native method in java?
what is the difference between future and callable interface in java?
Does sprintf allocate memory?
There are 100 keys and values in HashMap.how to get the keys and values?
What are the differences between stringbuffer and stringbuilder?
Which collection allows duplicate values in java?
What is the use of put method?
Why do we need hashset in java?