Which of these statements correctly describes the Stream API in Java 8?

Last Updated :
Discuss
Comments

Which of these statements correctly describes the Stream API in Java 8?

Streams are used to process collections of objects sequentially or in parallel.

Streams allow modifying the original data source.

Streams are primarily used to create new collections.

Streams only allow sequential processing.

Share your thoughts in the comments