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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.