Q. Which functional interface is often used with method references that return a value?

  • (A) Runnable
  • (B) Supplier
  • (C) Consumer
  • (D) Predicate
πŸ’¬ Discuss
βœ… Correct Answer: (B) Supplier
Explanation: `Supplier` represents a function that returns a value and takes no input, suitable for method references.
Explanation by: Mr. Dubey
`Supplier` represents a function that returns a value and takes no input, suitable for method references.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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