Image

11Understanding Lambda Expressions

CERTIFICATION OBJECTIVES

•        Write Lambda Expressions

image       Two-Minute Drill

Q&A    Self Test

 

The lambda expressions feature is new in Java 8. This chapter shows you how to write a simple lambda expression that uses the Predicate functional interface (FI). Leading up to this coverage, FIs and lambda expressions syntax information is provided and explained. The goal of the chapter is to help ensure that you have a working knowledge of the related lambda expressions features that you may see on the exam. ...

Get OCA Java SE 8 Programmer I Study Guide (Exam 1Z0-808), 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.