0 votes
in Education by (55.6k points)

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

1 Answer

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

...