Java Puzzlers

Java(TM) Puzzlers: Traps, Pitfalls, and Corner Cases by NealGafter? and JoshuaBloch.

 Published by Addison-Wesley Professional (June 24, 2005).
 ISBN  978-0321336781 , ISBN  032133678X 
 http://www.javapuzzlers.com/

A series of programming puzzles which illustrate various JavaLanguage LanguageGotchas. Or JavaSubtleties, if you prefer... As such, it's a little like Bloch's other book, EffectiveJava, and a lot like the various GotchaBook?s that have come out for other ProgrammingLanguages.

Solve these puzzles and you'll never again fall prey to the counterintuitive or obscure behaviors that can fool even the most experienced programmers. -- Amazon Reviewer

Code from the book is available:


Bloch has composed a series of Java Puzzlers presentations showcasing new "puzzlers" not in the book. The earlier ones were done in collaboration with Gafter, while WilliamPugh was the collaborator in the more recent ones. Some are on the web in video, including:


CategoryBook CategoryJava


EditText of this page (last edited June 25, 2011) or FindPage with title or text search