0 votes
in JAVA by
Which of the following is true about the Stream API in Java 8?

a) It is used to manipulate collections of data

b) It can only be used with parallel streams

c) It can only be used with sequential streams

d) It is a replacement for the java.util.Collection interface

1 Answer

0 votes
by

Answer: a) It is used to manipulate collections of data.

Explanation: The Stream API provides a way to process collections of data in a declarative and functional style, without modifying the original collection.

...