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 many decimal places is a double?
why java is better then .net?
What does exp mean in math?
How do I know if java is installed?
System.out.println(101/14) what is the output? a)6 b)14 c)7.14 d)0
What is Interface?
Explain the advantages of packages in java?
What are the 7 types of characters?
Where can I find data structures question and answers with comprehensive working code written in Java
Is a char always 1 byte?
What is difference between Iterator and for loop
What are the override methods in Object class?
2 Answers Tech Mahindra, Wipro,