A Threadpool has a Queue of tasks, of which each will be executed on one these Threads.
The following example shows how to add two int arrays using a Threadpool.
Java SE 8
int[] firstArray = { 2, 4, 6, 8 };
int[] secondArray = { 1, 3, 5, 7 };
int[] result = { 0, 0, 0, 0 };
ExecutorService po...