mentally stimulating diversions
Just For Fun
Can you name the Java keywords?
Enter a keyword in the box below
Correctly named keywords will show up below
Answers do not have to be guessed in order
Java Language Keywords
Programming Language Creators
Popular trivia games today
Famous with Sunglasses
Figure Out the Lyrics (One-Hit Wonder)
Isn't It Ironic?
World Capital Border Blitz
Word Ladder: Gemstones
One-word Movie Mix-and-Match
Missing Word: Top Grossing Movies (1990)
Clickable 1-100 Mines
/50 keywords correct
Show Missed Answers
HIDE THIS WARNING
You might also like these games:
Programming Language Popularity
for this game.
(Warning: comments may contain spoilers)
Java Keywords Quiz
Created Oct 22, 2009 in
Featured Jan 3, 2011
Game Plays 14,223
Report a Mistake
Friend Scores and Standings
Loading friend results....
Top Games Today in Science
Speed Math (1-100)
Minute Math (Addition)
Top Games with Similar Tags
Programming Language Popularit...
Top User Games in Science
The Hardest Question Ever!
Sporcle Puzzle Hunt: Science
Human Body Head to Toe (Blitz)
Oct 23rd, 2009 at 15:46 GMT
Amazing how everybody seems to forget 'this', even some who thought of 'super'!
Apr 13th, 2010 at 22:31 GMT
String is not a keyword
Jun 1st, 2010 at 20:35 GMT
How about null?
Dec 23rd, 2010 at 22:10 GMT
Nope. null, true and false are reserved words representing specific literal values, but technically they are not keywords. Not sure of the distinction; it might be a carryover from C++ where the three values were equivalent to the integer values 0, 1, and 0, respectively. (BTW, what embarrasses me is that I got 'goto' and 'const', even though Java doesn't even use them, but missed 'return', 'boolean', and void. Ouch.)
Dec 25th, 2010 at 21:50 GMT
newer java versions (i think it was version 5/6 that introduced it) have foreach as a loop possibility.
Dec 30th, 2010 at 17:45 GMT
@twain249: Java has a loop construct commonly called "foreach", but the keyword used for it is still just "for".
Game published: Jan 3rd, 2011 at 19:08 GMT
Jan 3rd, 2011 at 21:16 GMT
Ok... guess this isn't about the Indonesian island.
Jan 4th, 2011 at 00:59 GMT
I'm a C++ guy, but I'm kinda shocked that 'unsigned' isn't a keyword?!
Jan 4th, 2011 at 01:55 GMT
I was once an RPG guy. Never seen a line of Java code. I only got 9 out of 50
Jan 4th, 2011 at 14:07 GMT
Ouch... I haven't written a word of Java ever, though I know other languages, so I should've known what to try. Me missing "public", "private", "static", "throw" (when I got try, catch and finally), and even "void" was pathetic, though.
Jan 4th, 2011 at 16:33 GMT
Surprised this one got published, you really have to be a programmer to get well...anything. I used to use this quiz occasionally to test myself but while I have extensive Java experience, just reciting the keywords I always found difficult. I know what the keyword is when I need to use it, which is what's important.
Though the Java nerdiness in me really comes out when I know that const and goto are reserved keywords, even though they are actually unused.
Jan 4th, 2011 at 16:34 GMT
@moegoldberg: The fact that Java lacks unsigned versions of the integer types is actually something that frustrates most people that come from a C++ background. Bit manipulations are so rare in Java that it's not a huge detractor in practice...you aren't going to write a device driver in Java, e.g.
Jan 4th, 2011 at 16:37 GMT
@mcritic: From the source:
true, false, and null might seem like keywords, but they are actually literals; you cannot use them as identifiers in your programs.
Jan 13th, 2011 at 20:42 GMT
I thought this was about coffee. Not suprisingly I scored zero. Is that one of the words?
Jan 23rd, 2011 at 03:07 GMT
I've had this favorited for a while now - nice to see it was published :-)
Aug 4th, 2011 at 22:18 GMT
Am I, uh, the only one who thought it was coffee? Went through, like 20 terms before I realized I wasn't getting points... C:
Aug 11th, 2011 at 21:01 GMT
haha omg only managed 9 :(
Sep 30th, 2011 at 02:52 GMT
yay I got 21 ^^ I cant believe I forgot "switch", "case", "private", and "catch" =_=
Jan 9th, 2012 at 02:10 GMT
25 :D My evil programming teacher is helpful sometimes. . .
Mar 11th, 2012 at 10:19 GMT
Not an easy quiz at all in my opinion. Being an "oldie" the only programming language that I am familiar with is Basic. I was hoping that commands such as "next", "gosub" et al would be on here, but.....
Like us on Facebook
Follow us on Twitter
Follow us on Google+
2007-13 © Sporcle, Inc.
Partner of USA TODAY Sports Digital Properties
Go to the Sporcle.com Mobile Site →