What Happens When a Java ThreadPoolExecutor Core Size Is Set to Zero?
When the core pool size of a Java ThreadPoolExecutor is configured to zero, new tasks are initially placed into the work queue, and the executor may create non‑core threads to process them, a behavior that often surprises interview candidates.
