Multiple Choice
Which of the following statements is false?
A) The parameter names and variable names that you use in lambdas cannot be the same as any other local variables in the lambda's lexical scope; otherwise, a compilation error occurs.
B) Lambdas may use only final local variables.
C) A lambda that refers to a local variable in the enclosing lexical scope is known as a capturing lambda.
D) All of the above statements are true.
Correct Answer:

Verified
Correct Answer:
Verified
Q53: Functional interface Comparator's default method _ reverses
Q54: The basic generic functional interface _ in
Q55: Collectors static method groupingBy with one argument
Q56: Which of the following statements is false?<br>A)
Q57: Stream method _ eliminates duplicate objects in
Q59: The type of a lambda is the
Q60: The intermediate Stream operation _ results in
Q61: Which of the following statements is false?<br>A)
Q62: Class IntStream provides terminal operations for common
Q63: A nice performance feature of lazy evaluation