A

Admin • 828.43K Points
Coach

Q. Which method in ExecutorService stops all actively executing tasks?

  • (A) shutdown()
  • (B) terminate()
  • (C) shutdownNow()
  • (D) cancel()

Explanation by: Admin
`shutdownNow()` attempts to stop all active tasks immediately.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.