This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Complete listing of JAVA Keywords Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Complete listing of JAVA Keywords" Watch "Complete listing of JAVA Keywords" New topic
Author

Complete listing of JAVA Keywords

May Pat
Ranch Hand

Joined: Jul 01, 2002
Posts: 32
Could anyone tell me where I can find a complete listing of JAVA keywords? I came across couple books and atutorial site. I seem to find more and more words.... Thanks a lot.


May P.
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
That is the complete list of Java keywords. What are some of the other words you're seeing?
Some values, such as true, false, and null are literals, not keywords. For this exam, however, you need not differentiate between the two.
Corey


SCJP Tipline, etc.
May Pat
Ranch Hand

Joined: Jul 01, 2002
Posts: 32
Thanks, Corey. Other words I found from Java 2 Exam Cram by Bill Brogden and not included in the above site are:
byvalue, future, generic, inner, operator, outer, rest, var.
Also for Java 1.4, assert is a new keyword.
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Originally posted by May Pat:
Thanks, Corey. Other words I found from Java 2 Exam Cram by Bill Brogden and not included in the above site are:
byvalue, future, generic, inner, operator, outer, rest, var.
Also for Java 1.4, assert is a new keyword.

Indeed, assert is a new keyword specific to Java 1.4 (it looks like the list you had only went to Java 1.2), but the other words are not Java keywords. They may be key words to remember, but they are not keywords. There's a difference.
A keyword is a reserved word that can't be used as a variable name in a Java program. You can have a variable named outer, you can't have a variable named int.
I hope that helps,
Corey
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Complete listing of JAVA Keywords
 
Similar Threads
Is "goto" a Java keyword?
Keywords
java keywords
new JFrame in a Java Desktop Application
mock exam