This is another tricky question in my list. Many programmer will think that it will block until a task is cleared but its true. ThreadPoolExecutor's submit() method throws RejectedExecutionException if the task cannot be scheduled for execution.

Tags:

No Comment to " What happens if you submit task, when queue of thread pool is already fill? "