A

Admin • 833.24K Points
Coach

Q. What kind of interface is necessary for a lambda to be used?

  • (A) Interface with static methods only
  • (B) Functional interface with one abstract method
  • (C) Any abstract class
  • (D) Any interface

Explanation by: Admin

Only functional interfaces with a single abstract method can be implemented via lambdas.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.