πŸ“Š JAVA
Q. What does the `Function` functional interface do?
  • (A) Consumes a value
  • (B) Produces a boolean
  • (C) Transforms input to output
  • (D) Runs in a new thread
πŸ’¬ Discuss
βœ… Correct Answer: (C) Transforms input to output

Explanation: `Function` transforms input of type T to output of type R.

Explanation by: Mr. Dubey
`Function` transforms input of type T to output of type R.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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