Which statement is true about functional interfaces and lambda expressions? Select the one correct answer. (a) A

Question:

Which statement is true about functional interfaces and lambda expressions?

Select the one correct answer.

(a) A functional interface can be implemented only by lambda expressions.

(b) A functional interface declaration can have only one method declaration.

(c) In the body of a lambda expression, only public members in the enclosing class can be accessed.

(d) In the body of a lambda expression, all local variables in the enclosing scope can be accessed.

(e) A lambda expression in a program can implement only one functional interface.

(f) None of the above.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: