Q. Which functional interface is preferred for computations that may fail with an exception?

  • (A) Supplier
  • (B) Runnable
  • (C) Callable
  • (D) Function
πŸ’¬ Discuss
βœ… Correct Answer: (C) Callable
Explanation: `Callable` can return a value and throw a checked exception.
Explanation by: Mr. Dubey
`Callable` can return a value and throw a checked exception.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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