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

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