As far as I know - true, false and null are not keywords, they are reserved words. For all practical purposes they are treated as keywords but actually they are reserved words. Now the question comes - what is the difference? Well can some one answer that.
Hi Deepa ,Pankaj ,Rakesh read the following post about it in JLS posting the relevent portion Refer JLS- 3.9 "While true and false might appear to be keywords, they are technically Boolean literals (�3.10.3). Similarly, while null might appear to be a keyword, it is technically the null literal (�3.10.7). " thus true false and null are not Keywords.they are literals... Some one had a talk with Michael Ernest- (of RHE) earlier. Michael then had said that such confusing questions will not be coming in real Exams...I am sorry I dont have a link to that post...( HOpe someone can provide that ) Perhaps, I saw that in Javacertstudy group. HTH Sunil Choudhary
"Learning is weightless, a treasure you can always carry easily." -Chinese Proverb