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

Computer Science & Information Technology

You might also like to view...

Which of the following is the New Folder button?

A.
B.
C.
D.

Computer Science & Information Technology

If you ungroup a grouped object, then click the Gradient tool, a gradient annotator will ____.

A. appear on each object B. appear across all of the ungrouped objects C. appear on the middle object D. disappear

Computer Science & Information Technology