Skip to content
Sharp

Java Threading · interview question

Why might creating a new thread with 'new Thread().start()' for each task be problematic in a high traffic application?

Multiple choiceMediumchapter-15-curatedpremiumjava-threadingexecutorservice
Choose one answer
Answer and explanation

Correct answer

C. It can lead to excessive memory and CPU usage.

Why

Creating a new thread for each task can quickly exhaust system resources, particularly memory and CPU, as each thread incurs overhead. This is inefficient in high traffic scenarios.

Test yourself on Java Threading

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

Start free test
All Java Threading questions →