Which statement is true about java.util.stream.Stream?

Which statement is true about java.util.stream.Stream?

Which statement is true about java.util.stream.Stream?

A.
A stream cannot be consumed more than once.

B.
The execution mode of streams can be changed during processing.

C.
Streams are intended to modify the source data.

D.
A parallel stream is always faster than an equivalent sequential stream.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


KashiHide

KashiHide

A is the correct one.