Question: what is difference between different types of thread pools?
Answer: Fixed Thread Pool : A thread pool with a fixed number of threads. If a thread is not available for the task, the task is put in queue waiting for an other task to ends. ... Single Thread Scheduled Pool : A thread pool with only one thread to schedule future task. Method : Executors.