Skip to content
Sharp

Java Threading · interview question

How does the JVM manage Virtual Threads during a blocking network I/O operation?

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

Correct answer

B. It parks the Virtual Thread and reuses the OS thread for other tasks.

Why

During a blocking I/O operation, the JVM parks the Virtual Thread, freeing the OS thread for other tasks, thus increasing efficiency and scalability.

Test yourself on Java Threading

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

Start free test
All Java Threading questions →