---
title: "Why do threads block on I/O in java?"  
description: "Why do threads block on I/O in java?"  
author: "Sumit Kesarwani"  
published: 2014-03-26  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/1941/why-do-threads-block-on-i-o-in-java  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# Why do threads block on I/O in java?

Threads block on i/o (that is enters the waiting state) so that other threads may execute while the i/o Operation is performed.

## Answers

### Answer by Sumit Kesarwani

Threads block on i/o (that is enters the waiting state) so that other threads may execute while the i/o Operation is performed.


---

Original Source: https://www.mindstick.com/interview/1941/why-do-threads-block-on-i-o-in-java

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
