Lambda expressions are used primarily to define the implementation of ________ interfaces.

  • Abstract
  • Functional
  • Interface
  • Marker
Lambda expressions in Java are primarily used to define the implementation of functional interfaces. A functional interface is an interface that has only one abstract method. Lambda expressions provide a concise way to implement the single abstract method of such interfaces.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *