Course contentsShow
Java
Lesson 1489 of 2,87033. Streams API: Terminal OperationsPro lesson

Basic forEach Syntax with Lambda Expressions

Use forEach with lambda expressions to perform an action on each stream element, like printing or logging.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.