Question: Which are true statements about referencing variables from a lambda? (Choose two.) A. Instance and static variables can be used regardless of whether effectively final.
Which are true statements about referencing variables from a lambda? (Choose two.)
A. Instance and static variables can be used regardless of whether effectively final.
B. Instance and local variables can be used regardless of whether effectively final.
C. Instance variables and method parameters must be effectively final to be used.
D. Local variables and method parameters must be effectively final to be used.
E. Local and static variables can be used regardless of whether effectively final.
F. Method parameters and static variables can be used regardless of whether effectively final.
Step by Step Solution
3.26 Rating (164 Votes )
There are 3 Steps involved in it
The correct answers are A Instance and static variables can be used regardless of whether effectivel... View full answer
Get step-by-step solutions from verified subject matter experts
