This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
My cookbook uses a "hands-on" approach that shows how to accomplish a number of common Java programming tasks. The recipes span all skill levels. For example, there are recipes that show how to read from a file, which is fairly easy. But, many of the recipes are significantly more advanced. For example, there are recipes that demonstrate the use of regular expressions, show how to create a ZIP file, or create a real-time thread state monitor.
You can find a table of contents, along with chapter 1 (which introduces the book) at its page on the McGraw-Hill web site.
Also, an example recipe can be found on my web site. Just click on the book's title on the home page. In the description for the book, you will find a link to a sample recipe. It will give you an idea of the format that I used.
For my latest books on Java, including my Java Programming Cookbook, see HerbSchildt.com
Joined: Oct 01, 2003
As to which version of Java? I tested all code with Java 6. In general, all code will work with Java 5, too. Most importantly, most code will work with versions as early as 1.2. Of course, I recommend using a modern version of Java.