Lambda Expression

Lambda expression is a concise representation of an anonymous function which can be passed as an argument to a method or stored in a variable. We call it anonymous function because it isn't associated with a particular class like a method does and it doesn't have a explicit name like a normal method. Like any regular method a lambda has a list of parameters, body, return type and list of exceptions which can be thrown.

Read more 0

New features introduced in java 8

New features introduced in java 8 Here are the list of high level features introduced in Java 8 along with lots of enhancement at complier and JVM level: 1. Lambda Expressions Lambda expression is a concise representation of an anonymous function which can be passed as an argument to a method or stored in a variable. Click Here more details 2. Functional Interface A Functional Interface is an interface which specifies exactly one abstract method.

Read more 0