+2 votes
in JAVA by

Which of the following is correct about Java 8 lambda expression?

None of the options

Lambda expression throws a compilation error if a variable is assigned a value the second time.

Using lambda expression, you can refer to the final variable or effectively final variable (which is assigned only once).

Both the options

Related questions

+1 vote
asked Jun 2, 2020 in JAVA by Indian
+1 vote
asked Feb 8, 2020 in JAVA by rahuljain1
...