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:
- Lambda Expression
- Method References
- Functional Interfaces
- Stream API
- Default Methods
- Base64 Encode Decode
- Static Methods in Interface
- Optional Class
- Collectors Class
- ForEach() method
- Parallel Array Sorting
- Nashorn Javascript Engine
- Type and Repeat Annotations
- IO Enhancements
- Concurrency Enhancements
- JDBC Enhancements
In the next article, we will discuss each of the features extensively.