Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which interface does ExecutorService extend?

  • A.Executor
  • B.Runnable
  • C.Callable
  • D.Future

Answer: A

Executor is the minimal interface, declaring only execute(Runnable), and ExecutorService adds submission, shutdown and termination on top of it. Runnable and Callable describe tasks, and Future describes a pending result.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.