Sunday, April 27, 2014

Java 1.7 features

Below are the important features introduced in 1.7 in developers point of view.

1)Strings in switch statement
2)The try-with-resources Statement
3)Binary Literals
4)Underscores in numerical Literals
5)Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking
6)Type Inference for Generic Instance Creation

No comments:

Post a Comment