Java Puzzlers

By Joshua Bloch, Neal Gafter,

Book cover of Java Puzzlers: Traps, Pitfalls, and Corner Cases

Book description

"Every programming language has its quirks. This lively book reveals oddities of the Java programming language through entertaining and thought-provoking programming puzzles."

--Guy Steele, Sun Fellow and coauthor of The Java (TM) Language Specification

"I laughed, I cried, I threw up (my hands in admiration)."

--Tim Peierls, president, Prior Artisans…


When you buy books, we may earn a commission that helps keep our lights on (or join the rebellion as a member).

Why read it?

1 author picked Java Puzzlers as one of their favorite books. Why do they recommend it?

This tour of programming is a humorous reminder that we should always question our assumptions.

This book presents example after example of very simple Java programs all of which behave differently than you expect. It's both humbling and so provocative that you have to go into an editor and see if their claims are true.

From Christian's list on reads with your hands on the keyboard.

Want books like Java Puzzlers?

Our community of 12,000+ authors has personally recommended 47 books like Java Puzzlers.

Browse books like Java Puzzlers

Book cover of Structure and Interpretation of Computer Programs
Book cover of Beautiful Code
Book cover of Types and Programming Languages

Share your top 3 reads of 2024!

And get a beautiful page showing off your 3 favorite reads.

1,187

readers submitted
so far, will you?

5 book lists we think you will like!

Interested in computer programming, object-oriented programming, and software?

Software 61 books