Tuesday, August 26, 2014

Java 7 Programming Language features

Java 7 programming language includes a few new language features which includes
  • Binary Literals
  • Strings in Switch Statements
  • Automatic resource management with try-with-resources Statement
  • Catching Multiple Exception Types and Re-throwing Exceptions with Improved Type Checking
  • Underscores in Numeric Literals
  • Type Inference for Generic Instance Creation or Diamond Operator