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.
b. Lambdas may use only final local variables. Actually, lambdas may use final local variables or effectively final local variables.
You might also like to view...
________ is a feature of a CPU that allows it to begin to fetch the next instruction before it has finished executing the current one
Fill in the blank(s) with correct word
If the Criteria of a query indicates that Category Numbers which are 10 AND 20 should be selected, then the result will be ________
A) Unknown B) 255 Records (the limit for queries) C) 0 Records D) 1 Record