1.

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

Answer»

Which of the following is correct about Java 8 lambda expression?
Choose the correct option from below LIST
(1)Both the options
(2)Lambda expression throws a compilation error if a variable is assigned a value the second time.
(3)Using lambda expression, you can refer to the FINAL variable or EFFECTIVELY final variable (which is assigned only once).
(4)None of the options

Answer:-(1)Both the options



Discussion

No Comment Found