my dog learned polymorphism*
The moose likes Features new in Java 7 and the fly likes Java 7 New Features Cookbook Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Features new in Java 7
Bookmark "Java 7 New Features Cookbook" Watch "Java 7 New Features Cookbook" New topic

Java 7 New Features Cookbook

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345

As an experienced Java programmer, one can easily skim through the chapters and clearly understand the new Java 7 features. But for a novice, does the book points out some examples of the new Java 7 features by comparing them against pre Java 7 examples (using Java 6 or Java 5)? This came to my mind as I was refreshing the concepts on C# 4.0 and I find a lot of new features that I did not see in Java and the book with which I'm studying has some examples of the new features in C# 4.0 compares against C# 3.5. I find this approach much more practicable.

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Jennifer Reese

Joined: Mar 08, 2012
Posts: 8
We have several instances throughout the book where we compare the methods used in earlier versions with the new options available in Java 7. For example, we discuss the benefits of the try-with-resources block over traditional resource management techniques, to help the reader understand the feature better. Thanks for your question,
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345

Thanks for the response!
I agree. Here's the link:
subject: Java 7 New Features Cookbook
Similar Threads
Java 7: A Beginner's Tutorial - Third Edition book promises
Java 7: A Beginner's Tutorial": What not to use
Java programmers reference
Refactoring to Patterns - book questions
Learning C# by Jesse Liberty