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 is the difference between applet and swing and gui application in java . What we do with the collections set and list interface
2 Answers CTS, Phoenix Technologies,
Why is multithreading important?
Can we create an object if a class doesn't have any constructor ( not even the default provided by constructor ) ?
Howmany address lines are required to addressing 1 MB memory?
8 Answers Beatroot Technologies, CSC, HCL, Hexaware, IBM,
Are registers volatile?
What happens when the main() isn't declared as static?
What is the synonym of string?
how to handle exceptions in core applications?
How many types of design patterns are there?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Does google use java?