Question 8
Back to Exercise
What does invokeAny(tasks) return?
- A All results
- B The result of one task that completed successfully; the others are cancelled Correct
- C The first task's Future
- D A list of exceptions
Correct Answer: Option B
Useful for querying redundant services and taking the fastest answer.
Discussion & Comments 0
Share your method, a shortcut, or ask about a step you didn't follow.
No comments yet. Be the first to share your solution!