Java 7: New Feature – automatically close Files and resources in try-catch-finally

Try with resources is a new feature in Java 7 which lets us write more elegant code by automatically closing resources like FileInputStream at the end of the try-block.

New Java 7 Feature: String in Switch support

One of the new features added in Java 7 is the capability to switch on a String. See an example of how to use this feature and the pros of this feature.

Installing Java 7 on Mac OS X

While you can download the binaries for Java 7 for Windows and Linux, you need to go through a tedious build and install instructions for Mac OS X. This article links to the official Mac OS X Java 7 instructions, and also lists some things that are likely to go wrong and how to avoid them.

Get Adobe Flash playerPlugin by wordpress themes