invokeAll(): This method takes a collection of Callable tasks and executes them concurrently. It blocks until all tasks are complete. It returns a list of Future objects, which you can use to obtain the result of each task.
D is correct.
A and B reference "cThreads" which isn't declared anywhere.
C uses invokeAny(), which doesnt return a List. It returns the result of the first successfully completed task.
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.1z0-829 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
SrinivasJasti
3 months, 3 weeks agojames2033
8 months agosupersquax
8 months, 3 weeks ago