A

Admin • 828.03K Points
Coach

Q. Which annotation is used to indicate a functional interface?

  • (A) @Override
  • (B) @FunctionalInterface
  • (C) @Deprecated
  • (D) @Interface

Explanation by: Admin
`@FunctionalInterface` is used to enforce that an interface has exactly one abstract method.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.