(How much do you think you understand Java? Are you a thoughtful code scout? Did you spend days tracking a bug caused by Java or its class library traps and failures? Do you like intelligence tests? This book is just for you! This book makes an in-depth study of the Java programming language and the details of its intermediate class library. This book features 95 nightmarish puzzles, with many interesting visual illusions at the core. This book introduces us to many knowledge points in Java programming language that are not easy to master with easy and witty words, simple and clear methods and interesting examples. Its coverage simply involves every corner of Java programming language. It not only points out the factors that cause these puzzles, but also discusses in depth the solutions for managing these puzzles, sometimes even more than one, and then summarizes the general rules and warnings. These rules and warnings are not only for programmers, but also for Java language designers and API writers. Therefore, this book is a step-by-step, from simple to deep and summarized book, and its reading value is very high. This book features 95 puzzles related to the traps and faults of Java or its class library. Most of the puzzles are given in the form of short programs. The practice behavior of these programs is different from that on the surface. After each puzzle, specific solutions are provided. These solutions go beyond the simple explanation of program behavior and show readers how to prevent the traps and failures at the bottom. This book is interesting and entertaining, which is suitable for learners with Java knowledge and Java programmers with programming experience.
JavaPuzzlers (Chinese version). pdf)