Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Java - Interview Questions and Answers|
|Ans. true and false are literals in java. No we cannot use them as identifiers.|
Sample Code for literal
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  identifiers  keywords  literals|
|What are the some literals in java that are reserved and hence cannot be used as identifiers ?|
|What is the difference between keywords, identifiers and literals in java ?|