Friday, May 20, 2011

What's new in Java 7

In the recently concluded Eclipse Day India 2011 , I gave a talk on the new features of Java 7.

There were many questions and people generally seemed interested in the stuff. I mostly talked about the following features:

1. Project Coin:
  • Switch on Strings
  • Binary literals and underscores in numeral literals.
  • Improved type inference for generic instance creation - Diamond.
  • Multi - catch and more precise rethrow.
  • Try with resources.
  • @SafeVarargs
2. Support for dynamic languages

Other things also part of java 7 are:

3. Unicode 6.0 character set

4. New I/O and concurrent APIs


  1. Nice post.. thanks.

    i have another blog to describe this more:-

  2. I have no words for this great post such a awe-some information i got gathered. Thanks to Author.
    Android app developer| Android apps development|