This chapter explains the concept of functional programming. It provides an overview of the functional interfaces that come with JDK, explains how to use them in lambda expressions, and how to write lambda expressions in the most concise style.
In this chapter, we will cover the following topics:
- Functional programming
- Functional interfaces
- Lambda expressions
- Method references
- Exercise – Using method references for creating a new object