Question: what is the difference between executor and executorservice?
Answer: The main difference between Executor, ExecutorService, and Executors class is that Executor is the core interface which is an abstraction for parallel execution. It separates tasks from execution, this is different from java. lang. Thread class which combines both task and its execution.