Question: what is the difference between the executor and executorservice interface?
Answer: It separates tasks from execution, this is different from java. lang. Thread class which combines both task and its execution. ... On the other hand, ExecutorService is an extension of the Executor interface and provides a facility for returning a Future object and terminate, or shut down the thread pool.