Solved

Which of the Following Statements Is False

Question 37

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents