Discussion :: JUnit MCQs
- _______________ is used for the execution of the given tasks, returning a list of Futures holding their status and results after completion.
A.
isShutdown
|
B.
isTerminated
|
C.
invokeAll(Collection? extends Callable tasks)
|
D.
invokeAll(Collection extends Callable tasks, long timeout, TimeUnit unit)
|
Answer : Option C
Explanation :
Future.isDone() is true for each element of the returned list.
Be The First To Comment