Sail E0 Webinar
Question
_______________ is used for the execution of the given tasks, returning a list of Futures holding their status and results after completion.
Options:
A .  isShutdown
B .  isTerminated
C .  invokeAll(Collection? extends Callable tasks)
D .  invokeAll(Collection extends Callable tasks, long timeout, TimeUnit unit)
Answer: Option C


Future.isDone() is true for each element of the returned list.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers