Q. What kind of interface is necessary for a lambda to be used?
β
Correct Answer: (B)
Functional interface with one abstract method
Explanation: Only functional interfaces with a single abstract method can be implemented via lambdas.