Skip to content
Sharp

Java Threading · interview question

In what scenario would traditional OS threads still be preferred over Java Virtual Threads?

Multiple choiceHardchapter-15-curatedpremiumjava-threadingvirtual-threads
Choose one answer
Answer and explanation

Correct answer

C. When precise control over OS-level resources is required.

Why

Traditional OS threads might be necessary when precise control over thread scheduling and OS-level resources is required, which Virtual Threads abstract away.

Test yourself on Java Threading

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

Start free test
All Java Threading questions →