Question: Which ExecutorService method guarantees all running tasks are stopped in an orderly fashion? A. shutdown() B. shutdownNow() C. halt() D. shutdownAndTerminate() E. None of the
Which ExecutorService method guarantees all running tasks are stopped in an orderly fashion?
A. shutdown()
B. shutdownNow()
C. halt()
D. shutdownAndTerminate()
E. None of the above.
Step by Step Solution
3.34 Rating (154 Votes )
There are 3 Steps involved in it
The correct answer is A shutdown The shutdown method in ExecutorService is used to stop the exec... View full answer
Get step-by-step solutions from verified subject matter experts
