Welcome to JavaPolis 2007
A long time ago...
Introduction
1. "The Joy of Sets"
What Does It Print?
What Does It Print?
Another Look
Another 'nother Look
How Do You Fix It?
Moral
2. "More Joy of Sets"
What Does It Print?
What Does It Print?
Another Look (1)
Another Look (2) - URL Documentation
How Do You Fix It?
Moral
How Do You Fix It?
Moral
3. "Racy Little Number"
How Often Does This Test Pass?
How Often Does This Test Pass?
Another Look
How Do You Fix It? (1)
How Do You Fix It? (2)
Moral
4. "Elvis Lives Again"
What Does It Print?
What Does It Print?
Another Look
You Could Fix It Like This...
But This Is Even Better
Moral
5. "Mind the Gap"
What Does It Print?
What Does It Print?
Another Look
How Do You Fix It?
Moral
6. "Histogram Mystery"
What Does It Print?
What Does It Print?
Another Look
How Do You Fix It?
Moral
7. "A Sea of Troubles"
What Does It Print?
What Does It Print?
Another Look
Another Look (2) - ?: Spec (JLS 15.25)
How Do You Fix It?
Moral
8. "Ground Round"
How Often Does It Print Ground Round?
How Often Does It Print Ground Round?
Another Look
How Do You Fix It?
Moral
Conclusion
Shameless Commerce Division
Send Us Your Puzzlers!
Josh Bloch and Neal Gafter present yet another installment in the continuing saga of Java Puzzlers, consisting of eight more programming puzzles for your entertainment and enlightenment.
The game show format keeps you on your toes while the puzzles teach you about the subtleties of the Java programming language and its core libraries. Anyone with a working knowledge of the language will be able to understand the puzzles, but even the most seasoned veterans will be challenged. The lessons you take from this session are directly applicable to your programs and designs.
Joshua Bloch is a Principal Engineer at Google. He was previously a Distinguished Engineer at Sun Microsystems and a Senior Systems Designer at Transarc. He led the design and implementation of numerous Java platform features, including the JDK 5.0 language enhancements and the Java Collections Framework. He is the author of the Jolt Award-winning book Effective Java. He holds a Ph.D. in Computer Science from Carnegie-Mellon University and a B.S. in Computer Science from Columbia.
Neal Gafter is a software engineer and Java evangelist at Google. He was previously a senior staff engineer at Sun Microsystems, where he designed and implemented the Java language features in releases 1.4 through 5.0. Neal is coauthor of 'Java Puzzlers: Traps, Pitfalls, and Corner Cases' (Addison Wesley, 2005). He was a member of the C++ Standards Committee and led the development of C and C++ compilers at Sun Microsystems, Microtec Research, and Texas Instruments. He holds a Ph.D. in computer science from the University of Rochester.