What is the function of the shutdown() method(s) of the ExecutorService interface of the java.util.concurrent package?

What is the function of the shutdown() method(s) of the ExecutorService interface of the java.util.concurrent package?



Answer: Prevents new worker threads from being submitted to the service


Learn More :