Java8Features

Java8Features

Java8Features

Java 8 is a major feature release of Java programming language development. Its initial version was released on 18th March 2014, With the Java 8 release, Java provided supports for Functional Programming, a new Javascript Engine, new APIs for date-time manipulation, new streaming API, and upgrades to Java programming, JVM, Tools, and Engine.

Functional Programming

In computer science, functional programming is a programming paradigm—a style of building the structure and elements of computer programs—that treats computation as the evaluation of mathematical functions and avoids changing state and mutable data. It is a declarative programming paradigm in that programming is done with expressions or declarations instead of statements.

Java 8 provides the following features:

  1. Lambda Expression
  2. Method References
  3. Functional Interfaces
  4. Stream API
  5. Default Methods
  6. Base64 Encode Decode
  7. Static Methods in Interface
  8. Optional Class
  9. Collectors Class
  10. ForEach() method
  11. Parallel Array Sorting
  12. Nashorn Javascript Engine
  13. Type and Repeat Annotations
  14. IO Enhancements
  15. Concurrency Enhancements
  16. JDBC Enhancements

In the next article, we will discuss each of the features extensively.