What java 8? What is the intention of java 8.

Objectives of Java 8

  1. To simplify programming : Concise code
  2. To gain the benefits of functional programming in java (Lamada Expression)
  3. To utilize the advantage of parallel processing in jav(Parallel streams)

Features of Java 8

  1. Lambda Expressions
  2. Functional Interfaces
  3. Default Method in interfaces
  4. Static method inside interfaces
  5. Predicate (Predefined functional interfaces)
  6. Function (Predefined functional interfaces)
  7. Consumer (Predefined functional interfaces)
  8. Method reference and Constructor reference by double colon(::)operator
  9. Stream API
  10. Java 8 Date and Time API( Joda API)

Leave a Comment