A

Admin • 828.03K Points
Coach

Q. Which method stops accepting new tasks in ExecutorService?

  • (A) stop()
  • (B) shutdown()
  • (C) cancel()
  • (D) exit()

Explanation by: Admin
`shutdown()` initiates an orderly shutdown in which tasks are not accepted but in-progress tasks are completed.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.