Multiple Choice
Stream method findFirst is a short-circuiting terminal operation that processes the stream pipeline and terminates processing as soon as the first object from the stream pipeline is found. The method returns a(n) ________ containing the object that was found, if any.
A) Optional
B) Discretionary
C) Elective
D) Extra
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Intermediate operations are_; they aren't performed until
Q2: Which of the following statements is false?<br>A)
Q3: Which statement in the following sequence of
Q4: Collectors static method _ returns a Collector
Q5: Terminal operations are _; they perform
Q7: Stream mutable reduction operation _creates an array
Q8: By default, method sorted uses _.<br>A) ascending
Q9: Map method _ performs an operation on
Q10: Which of the following statements is false?<br>A)
Q11: Collectors static method groupingBy with two arguments