Objectives of Java 8
- To simplify programming : Concise code
- To gain the benefits of functional programming in java (Lamada Expression)
- To utilize the advantage of parallel processing in jav(Parallel streams)
Features of Java 8
- Lambda Expressions
- Functional Interfaces
- Default Method in interfaces
- Static method inside interfaces
- Predicate (Predefined functional interfaces)
- Function (Predefined functional interfaces)
- Consumer (Predefined functional interfaces)
- Method reference and Constructor reference by double colon(::)operator
- Stream API
- Java 8 Date and Time API( Joda API)