Callable

The functional interface for a task that returns a result and may throw an exception, submitted to an executor.

In more detail

Unlike Runnable, its call method returns a value, which arrives through a Future. The lambda () -> 6 * 7 submitted in the course is a Callable.

Related terms

Taught in

References

Certification courses