Adam Lee Adam Lee - 1 month ago 11
Java Question

what's the difference between Executor and ExecutorService?

I am wondering what's the difference between Executor and ExecutorService?

Any example will help.

Answer

Executor just executes stuff you give it.

ExecutorService adds startup, shutdown, and the ability to wait for and look at the status of jobs you've submitted for execution on top of Executor (which it extends).