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...
What is a measure of a fiber’s light acceptance?
What will be an ideal response?
Google Wave combines elements of blogs, instant messaging, wikis, and multimedia for creating collaborative ____________________.
Fill in the blank(s) with the appropriate word(s).
A worm is a potentially damaging computer program that affects a computer negatively by altering the way a computer works.
Answer the following statement true (T) or false (F)
_______ hackers hack into systems to steal or vandalize.
A) Red-hat B) Black-hat C) Gray-hat D) White-hat