Which of the following statements is true about Streams?

  1. Streams modify the original collection
  2. Streams support parallel execution
  3. Streams store data
  4. Streams are reusable
Correct answer Streams support parallel execution

Explanation

Streams can be parallelized using `parallelStream()` for faster processing.

Update: Admin added a tag on this question

Topics

By Admin · · 19 views