Question: what is difference between executor.submit() and executer.execute()?
Answer: The difference is that execute simply starts the task without any further ado, whereas submit returns a Future object to manage the task. You can do the following things with the Future object: Cancel the task prematurely, with the cancel method.