enthuware.ocpjp.v11.2.1235
Posted: Thu Apr 21, 2022 8:08 am
I really do not understand the answer.
Q 5 of 19 (Concurrency)- enthuware.ocpjp.v11.2.1235
You want to execute a task that returns a result without blocking. Which of the following types from java.util.concurrent package will be required to achieve this?
Valid answers: ExecutorService, Executors, Callable, Future.
How Runnable is a bad answer?
Is Future get() doesn't block?
Q 5 of 19 (Concurrency)- enthuware.ocpjp.v11.2.1235
You want to execute a task that returns a result without blocking. Which of the following types from java.util.concurrent package will be required to achieve this?
Valid answers: ExecutorService, Executors, Callable, Future.
How Runnable is a bad answer?
Is Future get() doesn't block?