Skip to content
Sharp

Java Threading · interview question

Which method in ExecutorService is used to submit a Callable task?

Multiple choiceEasychapter-15-curatedpremiumjava-threadingexecutorservice
Choose one answer
Answer and explanation

Correct answer

D. Submit()

Why

The submit() method is used to submit a Callable or Runnable task to an ExecutorService. It returns a Future representing the pending result of the task.

Test yourself on Java Threading

A free test with instant, explained results. No account needed.

Start free test
All Java Threading questions →