Which of the following method is used to aggregate data in a stream by merging several components based on a supplied function into a single element?

23. Which of the following method is used to aggregate data in a stream by merging several components based on a supplied function into a single element?

  1. Minimise()
  2. Lower()
  3. Dec()
  4. Reduce()

Answer: D) Reduce()

Explanation:

The reduce() method is used to aggregate data in a stream by merging several components based on a supplied function into a single element.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.