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

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