Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-809 Topic 16 Question 78 Discussion

Actual exam question for Oracle's 1Z0-809 exam
Question #: 78
Topic #: 16
[All 1Z0-809 Questions]

Which two methods from the jav

a.util.stream.Stream interface perform a reduction operation? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: A, B

Contribute your Thoughts:

Kristal
7 days ago
Dude, what kind of exam is this? I thought we were supposed to be learning about streams, not counting methods! This is making my head spin.
upvoted 0 times
...
Rosita
19 days ago
Hmm, I think count() and reduce() are the reduction methods, but I'm not 100% sure. I'll have to double-check the docs on that.
upvoted 0 times
...
Krystal
22 days ago
I'm not sure about this. Can someone explain why count() and collect() are used for reduction?
upvoted 0 times
...
Alverta
23 days ago
I'm pretty sure collect() and reduce() are the reduction operations in the Stream interface. I use those all the time in my coding.
upvoted 0 times
Jolanda
8 days ago
I think you meant collect() and reduce() instead of distinct().
upvoted 0 times
...
Ashton
12 days ago
Yes, you're right. collect() and reduce() are the correct methods for reduction operations.
upvoted 0 times
...
Rolf
15 days ago
I think you meant collect() and reduce() instead of distinct().
upvoted 0 times
...
...
Stephanie
24 days ago
I agree with Lavelle. Count() and collect() are used for reduction in Stream interface.
upvoted 0 times
...
Lavelle
25 days ago
I think A) count() and B) collect() perform reduction operations.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77