The @FunctionalInterface annotation is used to indicate that an interface is to be used with ________.

  • Annotations
  • Generics
  • Lambdas
  • Threads
The @FunctionalInterface annotation is used to indicate that an interface is intended to be used with lambda expressions. It serves as a marker for functional interfaces, making it clear that they are designed to be used in lambda expressions.
Add your answer
Loading...

Leave a comment

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