Question 112:
Which two methods from the java.util.stream.Stream interface perform a reduction operation? (Choose two.)
Answer options:
A. count () B. collect () C. distinct () D. peek () E. filter ()
Answer correct:
AB
Reference: https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html