All Comments
TopTalkedBooks posted at February 18, 2018
Java Puzzlers[0] has a few entries similar to this. Some of the entries are things that would trip you up (but logically makes sense) rather than oddities, but it's an interesting read. Note that the book is from 2005 and uses Java 5.

[0]: https://www.amazon.com/Java-Puzzlers-Traps-Pitfalls-Corner/d...

Top Books
We collected top books from hacker news, stack overflow, Reddit, which are recommended by amazing people.