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

1 Expert Approved Answer
Step: 1 Unlock

The correct answers are A Instance and static variables can be used regardless of whether effectivel... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Oracle Questions!