Skip to content
Sharp

Java Threading · interview question

Why is using new Thread().start() for each task in a high-traffic application discouraged?

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

Correct answer

D. It can lead to excessive context switching

Why

Using new Thread().start() for each task can result in excessive context switching and increased memory usage, as each thread incurs significant system overhead. This can degrade performance in high-traffic applications.

Test yourself on Java Threading

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

Start free test
All Java Threading questions →