What are the new features introduced in jdk 1.7?

What are the new features introduced in jdk 1.7?

There are a number of features in Java 7 that will make an ease for the developers.

Things such as strings in switch statements, multi-catch exception handling, try-with-resource statements, the new File System API, extensions of the JVM, support for dynamically-typed languages, the fork and join framework for task parallelism, and a few others.


There are some intersting features of jdk 1.7 are as follows:-

  • Diamond Operator
  • Using strings in switch statements
  • Automatic resource management
  • Numeric literals with underscores
  • Improved exception handling
  • New file system API (NIO 2.0)
  • Working with Path
  • File change notifications
  • Fork and Join
  • Supporting dynamism

Read More →