Q. Which functional interface represents a function that returns a value of type T and takes no arguments?

  • (A) Supplier<T>
  • (B) Function<T,R>
  • (C) Consumer<T>
  • (D) Predicate<T>
πŸ’¬ Discuss
βœ… Correct Answer: (A) Supplier<T>
Explanation: Supplier provides results of type T without input.
Explanation by: Mr. Dubey
Supplier provides results of type T without input.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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