Q. What does the `Supplier` functional interface represent?

  • (A) Takes input and returns output
  • (B) Takes no input and returns a result
  • (C) Takes input and returns void
  • (D) Returns a boolean result
πŸ’¬ Discuss
βœ… Correct Answer: (B) Takes no input and returns a result
Explanation: `Supplier` returns a value without taking any input.
Explanation by: Mr. Dubey
`Supplier` returns a value without taking any input.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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