New features, examples, release notes of all Java Releases. Refer below table.
Category: Java
As you might now, important part of HashMap is hash function which determines which bucket that key-value pair will go…
Generic Methods If any method accepts argument which is supposed to be generic or returns object which is supposed to…
Multiple arguments: In case of a functional interface whose method has multiple arguments, below example shows how to implement it…
Streams reduce with identity: reduce() is a method provided as a part of streams api which comes handy when you…
Example of reduce function in Java 8 streams: reduce() is a method provided as a part of streams api which…
Lambda Expressions: New addition to Java 8 – Lambda Expressions. Lambdas will mainly remove the ceremonious syntax from anonymous class declaration.…
Multi Catch Exceptions In Java 7, multi catch exceptions are introduced. As shown in below highlighted code, catch block can…