The major difference between Callable and Runnable interface is that Callable can return the result of an operation performed inside call() method, which was one of the limitations with Runnable interface.
The Callable interface can throw checked exception because it's call method throws Exception.
Link One
The Callable interface can throw checked exception because it's call method throws Exception.
Link One
No comments:
Post a Comment