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 do you check whether the list is empty or not in java?
Why Java is not pure Object Oriented language?
What is the purpose of tostring() method in java?
Explain thread life cycle in java?
What is operator?
Consider that class classA, abstract class classB, and final classC have been defined.Which one of the following is correct? 1. classA extends classC implements classB 2. class A extends classB, classC 3. classA extends classB 4. classB implements classC
What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?
Can we sort array in java?
What is the exact difference in between unicast and multicast object? Where we will use?
What is functional interface in javatpoint?
What is a class ?
How many objects are created when we create String class object using new operator?