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

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