Q. Which keyword is used to define a functional interface?

  • (A) abstract
  • (B) @FunctionalInterface
  • (C) interface
  • (D) final
πŸ’¬ Discuss
βœ… Correct Answer: (B) @FunctionalInterface
Explanation: @FunctionalInterface annotation indicates that an interface is intended to be a functional interface.
Explanation by: Mr. Dubey
@FunctionalInterface annotation indicates that an interface is intended to be a functional interface.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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