0 votes
in JAVA by
Which method is used to perform a reduction operation on the elements of a stream in Java?

a) reduce()

b) collect()

c) join()

d) map()

1 Answer

0 votes
by
Solution: a) reduce()

Explanation: The reduce() method is used to perform a reduction operation on the elements of a stream in Java.
...