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


a. Optional

Computer Science & Information Technology

You might also like to view...

Java's for loop is much less flexible than Alice's for loop.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

When constructing an advanced filter, the ________ range is a range of cells containing the filter conditions

A) input B) criteria C) specification D) output

Computer Science & Information Technology

To begin to use a computer, the user first turns on the power by pressing the power button, and then the computer displays a prompt for the user to decide the next course of action.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Information processing is a vital activity today for all computer users, as well as for businesses and other organizations.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology