in Education by (55.8k points)

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

1 Answer

0 votes
by (55.8k 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.

Related questions

0 votes
asked Nov 8, 2020 in Education by Editorial Staff (55.8k points)
0 votes
asked Oct 24, 2021 in Education by JackTerrance (1.9m points)
...