Question 20
Back to Exercise
How does Callable<V> differ from Runnable?
- A It runs faster
- B call() returns a value and may throw checked exceptions; run() returns void and cannot Correct
- C It needs two arguments
- D There is no difference
Correct Answer: Option B
Both are functional interfaces, so both accept lambdas.
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!