πŸ“Š JAVA
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

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