Skip to content
Sharp

Networking · interview question

Which approach ensures that CompletableFutures complete in the order they were started?

Multiple choiceHardchapter-11-curatedpremiumnetworkingasynchronous-http
Choose one answer
Answer and explanation

Correct answer

B. They do not guarantee any specific order of completion.

Why

CompletableFutures do not guarantee the order of completion as they are inherently asynchronous. Their completion depends on the time taken for each task, not the order of initiation.

Test yourself on Networking

A free test with instant, explained results. No account needed.

Start free test
All Networking questions →