R

Ram Sharma • 3.40K Points
Extraordinary

Q. What type of operation is `map()` in a stream?

  • (A) Terminal operation
  • (B) Short-circuiting operation
  • (C) Intermediate operation
  • (D) Collector operation
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma

`map()` is an intermediate operation used to transform elements.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.