in Education by (55.8k points)

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

1 Answer

0 votes
by (55.8k points)

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

The 'filter' method is used to eliminate elements based on a criteria.

Related questions

0 votes
asked Nov 8, 2020 in Education by Editorial Staff (55.8k points)
...