1.

What Are The New Features Introduced In Java 8?

Answer»

There are dozens of features added to JAVA 8, the most SIGNIFICANT ones are mentioned below −

  • Lambda expression − Adds functional processing capability to Java.
  • Method references − Referencing functions by their names instead of invoking them directly. Using functions as parameter.
  • Default method − Interface to have default method implementation.
  • New TOOLS − New compiler tools and utilities are added like 'jdeps' to figure out dependencies.
  • Stream API − New stream API to facilitate pipeline processing.
  • Date Time API − Improved date time API.
  • Optional − Emphasis on best practices to handle null values properly.
  • Nashorn, JavaScript Engine − A Java-based engine to execute JavaScript code.

Along with these new featuers, lots of FEATURE enhancements are done under-the-hood, at both compiler and JVM level.

There are dozens of features added to Java 8, the most significant ones are mentioned below −

Along with these new featuers, lots of feature enhancements are done under-the-hood, at both compiler and JVM level.



Discussion

No Comment Found