Q. Which annotation helps in identifying a functional interface?

  • (A) @FunctionalInterface
  • (B) @Override
  • (C) @Lambda
  • (D) @Functional
πŸ’¬ Discuss
βœ… Correct Answer: (A) @FunctionalInterface
Explanation: `@FunctionalInterface` ensures the interface has only one abstract method.
Explanation by: Mr. Dubey
`@FunctionalInterface` ensures the interface has only one abstract method.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
61
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate