Q. What is a stream in Java 8?
β
Correct Answer: (B)
A sequence of objects that can be processed in parallel
Explanation: Streams are a new type of collection in Java 8 that allows for efficient processing of large datasets in parallel.