Q. Which Java keyword is used to ensure an interface is functional?

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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