October 2015
Beginner to intermediate
296 pages
5h 56m
English
Recursion is a powerful functional programming technique that lends itself to more elegant and succinct solutions than an iterative approach. Recursion is the technique where a method, either directly or indirectly, calls itself. A lambda expression can also call itself recursively. The discussion in this chapter will focus on method recursion. However, keep in mind that the ideas and concepts apply equally to recursive lambda expressions.
In this chapter, we will:
Recursion is not new to Java 8. To illustrate recursion ...
Read now
Unlock full access