Java 8 introduced a new feature called lambda expressions. Before Java 8 it only followed object oriented programming and its concepts. Now it has allowed to write functional programming as well by passing code as an argument to a method. Functional programming is a hot topic for some other programming languages. But Java doesn't had any feature like that before java 8.
In this blog I will try to cover following topics:
In this blog I will try to cover following topics:
- Lambda expression
- Functional interface
- Variable capture
- Method References
- Default method