This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
The book is written to be fun to read and educational. The puzzles themselves are quite short, and seemingly easy, but often surprisingly difficult due to some twist or turn of the language or library. They come from real programmers' experience, so you will find that the knowledge you gain from reading the book actually helps you avoid these problems. And when the problems do occur in your code, your familiarity with the puzzles in the book will lead you directly to a solution.
Just to throw in my two cents, the book is for people who are already comfortable with Java, and who want to learn to avoid its "traps and pitfalls." Every language has them. Java has feewer than most, and this book brings them to light with brainteasers. It also contains a taxonomy of traps and pitfall, cross referenced to the puzzles (Appendix B). This should be useful to any working Java programmer.
Finally, the puzzles are just plain fun, as are the optical illusions with which the book is illustrated, so it is a book for people who like brainteasers and who know Java.
Joshua Bloch <br />Author of <a href="http://www.amazon.com/exec/obidos/ASIN/0201310058/ref=ase_electricporkchop" target="_blank" rel="nofollow">Effective Java</a> and coauthor of <a href="http://www.amazon.com/exec/obidos/ASIN/032133678X/ref=ase_electricporkchop" target="_blank" rel="nofollow">Java Puzzlers</a>
Author and "Sun God"
Joined: May 30, 2001
Originally posted by Kishore Dandu: Authors:
can you give one puzzle, that we will try to solve for the sake of fun.
We can do better than that: we'll give you nine puzzles! Take a look at the new thread called "Sample Chapter," which we will post shortly.