Q. Which functional interface is used to represent a function that takes one argument and returns a result?

  • (A) Runnable
  • (B) Consumer
  • (C) Function
  • (D) Supplier
πŸ’¬ Discuss
βœ… Correct Answer: (C) Function
Explanation: Function<T, R> takes one argument of type T and returns a result of type R.
Explanation by: Mr. Dubey
Function<T, R> takes one argument of type T and returns a result of type R.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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