LearnFrenzy
Sign in Take a free test

Concurrency and Executors · Concurrency and Executors MCQ · Question 2

Callable versus Runnable Answer, explanation & discussion

  • MCQ
  • Easy
  • 0 comments
  • Answer explained
  • Moderated community
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!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links