0 votes
in Education by (55.6k points)

What is the purpose of forEach method of stream in Java 8?

1 Answer

0 votes
by (55.6k points)

What is the purpose of forEach method of stream in Java 8?

Stream has provided a new method 'forEach' to iterate each element of the stream.

...