11. Lambda ExpressionsΒΆ
Prerequisite Information
This chapter assumes that the reader is already familiar with interfaces and generics in Java.
To get the most out of this chapter, you should follow along and take notes.
Help and Feedback
If you have any questions as you are working through the chapter, you are encouraged to post on the course Piazza page. Your questions will not only help you fill gaps in your knowledge but also give the authors and instructors insight on potential updates to the chapter.
Chapter Contents
- 11.1. Introduction
- 11.2. Functional Interfaces
- 11.3. Motivating Example
- 11.4. Another Example
- 11.5. How to Create Lambda Expressions
- 11.6. More Examples
- 11.7. Functional Interfaces as Parameters
- 11.8. Using Caller-Supplied Behavior
- 11.9. Additional Practice Exercises
- 11.9.1. Practice Problems
- 11.9.1.1. Question 1
- 11.9.1.2. Question 2
- 11.9.1.3. Question 3
- 11.9.1.4. Question 4
- 11.9.1.5. Question 5
- 11.9.1.6. Question 6
- 11.9.1.7. Question 7
- 11.9.1.8. Question 8
- 11.9.1.9. Question 9
- 11.9.1.10. Question 10
- 11.9.1.11. Question 11
- 11.9.1.12. Question 12
- 11.9.1.13. Question 13
- 11.9.1.14. Question 14
- 11.9.1.15. Question 15
- 11.9.2. Parsons Problems
- 11.9.1. Practice Problems