Skip to content
Sharp

Networking · interview question

Why can not using CompletableFuture for asynchronous tasks become a problem in practice?

Multiple choiceMediumchapter-11-curatedpremiumnetworkingjackson-objectmapper
Choose one answer
Answer and explanation

Correct answer

D. Tasks may block the main thread.

Why

Without CompletableFuture, asynchronous tasks may block the main thread, leading to decreased application responsiveness and inefficient resource utilization.

Test yourself on Networking

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

Start free test
All Networking questions →