Page 1 of 1

About Question enthuware.ocpjp.v8.-2-.1124 :

Posted: Fri Aug 03, 2018 9:36 am
by __JJ__
ExecutorService allows you to execute a Callable.
Hi admin,
Sorry, ExecutorService allows you to submit a Callable. Of course, execute in common language means the same thing, but the method in Executor is execute, whereas the method in ExecutorService is submit, and the method in SES is schedule.

Re: About Question enthuware.ocpjp.v8.-2-.1124 :

Posted: Fri Aug 03, 2018 10:27 am
by admin
I think it is clear from the context that the explanation is talking their difference wrt Runnable and Callable. For example, when we say "run a class", it doesn't mean the class has a method named run.