A

Admin • 825.56K Points
Coach

Q. In which scenario is using a lambda not possible?

  • (A) When implementing Runnable
  • (B) When implementing Comparator
  • (C) When implementing an interface with multiple abstract methods
  • (D) When using Stream API

Explanation by: Admin
Lambdas require interfaces with a single abstract method.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.