Solved

Which of the Following Statements Is False

Question 58

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions