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 comment:

  1. Nice post.. thanks.

    i have another blog to describe this more:-

    http://ajkush-ws.blogspot.com/

    ReplyDelete