Share
Explore

icon picker
Java 8 new features

Lambda expressions.
Functional interfaces. (Supplier, Consumer, Predicate, Function are predefined functional interfaces).
Streams API.
Default and static methods in interfaces.
Method and constructor references using double colon (::).
Date and Time API (Joda API).
Optional class.
Nashorn javascript engine.

Main objectives of Java 8-

To simplify programming i.e. write more concise code.
To enable functional programming in Java (using lambda expressions).
To get benefits of parallel programming in Java (using parallel streams).

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.