What is the difference between submit and execute method with ThreadPoolExecutor

Viewed 45675

I found there are two ways (submit and execute) to add a Runnable into a thread pool, what is the difference?

3 Answers
Related