Talk:List of Java keywords
![]() | Java List‑class Mid‑importance | |||||||||
|
![]() | Computing: Java List‑class Low‑importance | ||||||||||||
|
Technically, true and false are boolean literals, and null is the null literal.
http://java.sun.com/docs/books/jls/second_edition/html/lexical.doc.html#229308
Other languages
This page is a fairly handy resource, but I've noticed that such a thing doesn't exist for other programming languages (I'm particularly interested in C++, but I'm sure it would be very useful for other languages as well) and I was wondering if any of the programming wizards out there would be willing to make similar pages for other languages.
My advice would be to just created a "C++ keywords" page, and then wait for the wizards to come, and sho'nuff, they will add in all the details. Mzanime 05:44, 26 July 2006 (UTC)
- Might also try this at Wikiversity. The computer science area is starting to get active. I just completed some flashcards for java[1] based on this file since I am studying Java. Maybe some others would flesh out C++ flashcard and transfer information this way. 71.161.0.110 03:59, 31 October 2006 (UTC)
Keywords vs. reserved words
What are the differences in term of their definition? I can see from the article that true, false and null are reserved words but not keywords. What attribute of them separate them from "keywords"? Kowloonese (talk) 22:01, 12 February 2010 (UTC)
Keyword "default" in Java is used in switch / case blocks - but also in annotations, to specify a default value in the annotation defintion, if none are supplied in the annotation instance.