|
The Callable interface addresses two of these limitations: it can return a value, and it may throw a checked
exception. Because the value being returned must have a type, Callable
is a parameterized type:
public interface Callable<V>
{
V call() throws Exception
}
|