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. Click Here more details
3. Method References
4. Default methods in interface
5. Optional
6. Stream API
7. Date API
8. Nashorn, JavaScript Engine

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments