Which functional interface returns a value and may throw an exception?

  1. Runnable
  2. Callable
  3. Consumer
  4. Supplier
Correct answer Callable

Explanation

`Callable` returns a value and may throw an exception.

Update: Admin added a tag on this question

Topics

By Admin · · 30 views