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

reduce with Identity: T reduce(T identity, BinaryOperator<T>)

Using reduce with an identity value that serves as the starting point and return value for empty streams.

This lesson is for subscribers

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