Question: When using a thread pool what happens to a given thread after it finishes its task?

  1. The thread is destroyed and memory is freed up.
  2. The thread runs in loop until the next assignment.
  3. The thread goes inactive in the background and waits for garbage collection.
  4. The thread returns to the pool for reuse.

Answer: The correct answer of the above question is Option D:The thread returns to the pool for reuse.