Multiple Choice
Which of the following statements is false?
A) A lambda that receives two ints, x and y, and returns their sum is (int x, int y) -> {return x + y;}
B) A lambda's parameter types may be omitted, as in: (x, y) -> {return x + y;}
In which case, the parameter and return types are set to the lambda's default type.
C) A lambda with a one-expression body can be written as: (x, y) -> x + y
In this case, the expression's value is implicitly returned.
D) When a lambda's parameter list contains only one parameter, the parentheses may be omitted, as in: value -> System.out.printf("%d ", value)
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Intermediate operations are_; they aren't performed until
Q3: Which statement in the following sequence of
Q4: Collectors static method _ returns a Collector
Q5: Terminal operations are _; they perform
Q6: Stream method findFirst is a short-circuiting terminal
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