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 |
how can you take care of mutual exclusion using java threads? : Java thread
What language is java written?
What is the difference between checked exception and unchecked exception?
Where is core java used?
In case of inheritance what is the execution order of constructor and destructor?
How we can declare a static variable?
What is the constructor?
Explain the importance of throwable class and its methods?
Where the CardLayout is used?
What is the need of "creating and throwing an UserdefinedException" when the "Exception" class is already available?
What is the default initialized value of String type variable?
How to split arraylist elements in java?