Question 2
Back to Exercise
How does Callable<V> differ from Runnable?
- A It has no method
- B call() returns a value and can throw checked exceptions Correct
- C It must extend Thread
- D It runs only once
Correct Answer: Option B
Both can be submitted to an ExecutorService.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!