What is the function of the newScheduledThreadPool(int nThreads) method(s) of the Executors class of the java.util.concurrent package?

What is the function of the newScheduledThreadPool(int nThreads) method(s) of the Executors class of the java.util.concurrent package?



Answer: creates a thread pool of a fixed size that can be scheduled to run after a given delay, or to execute periodically


Learn More :

Multithreading and Concurrent Processing

Learn More Multiple Choice Question :