Difference between revisions of "JAVA"
Line 1: | Line 1: | ||
== Java 7 == | == Java 7 == | ||
== [[Java 8]] == | == [[Java 8]] == | ||
− | |||
There are dozens of features added to Java 8, the most significant ones are mentioned below − | There are dozens of features added to Java 8, the most significant ones are mentioned below − | ||
Line 14: | Line 13: | ||
*'''Nashorn, JavaScript Engine''' − A Java-based engine to execute JavaScript code. | *'''Nashorn, JavaScript Engine''' − A Java-based engine to execute JavaScript code. | ||
+ | |||
+ | === Java SE 8 Interview Questions and Answers == | ||
+ | *[[Java SE 8 Interview Questions and Answers - 1]] | ||
===[[Lambda Expressions]]=== | ===[[Lambda Expressions]]=== |
Revision as of 03:20, 6 July 2018
Contents
[hide]Java 7
Java 8
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.