in Education by (55.8k points)

What are collectors in Java 8?

1 Answer

0 votes
by (55.8k points)
What are collectors in Java 8?

Collectors are used to combine the result of processing on the elements of a stream. Collectors can be used to return a list or a string.
...