Which of the following statements is false?
a. A lambda can use the outer class’s this reference without qualifying it with the outer class’s name.
b. 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.
c. Lambdas may use only final local variables.
d. A lambda that refers to a local variable in the enclosing lexical scope is known as a capturing lambda.
c. Lambdas may use only final local variables.
Computer Science & Information Technology
You might also like to view...
PowerPoint 2010 includes a Thesaurus feature
Indicate whether the statement is true or false
Computer Science & Information Technology
WordPad is a simple word-processing program included with Windows XP
Indicate whether the statement is true or false
Computer Science & Information Technology