Why threads will block on I/O?




Answers were Sorted based on User's Feedback



Why threads will block on I/O?..

Answer / guest

So that other threads may execute while the i/o operation
takes place

Is This Answer Correct ?    3 Yes 2 No

Why threads will block on I/O?..

Answer / abu

itz becoz of traffic blocks.....
when the thread is released the roads may be in full of
traffic BLOCK....
similar occasion occured in newyork city in 1973 march 10

Is This Answer Correct ?    0 Yes 1 No

Post New Answer




More Advanced Java Interview Questions

In a multitiered application which tier is the browser in?

3 Answers   Adobe,


what is singleton class? where it mainly used in the projects?

5 Answers   Wipro, Satyam,


how can we load a file of a user in the database table?

3 Answers   ITC Infotech,


What is rmic?

4 Answers  


what is the life cycle of jsp?

1 Answers   HCL, ITC Infotech,






How to pass parameters in RMI?

0 Answers  


What invokes a thread?s run() method?

2 Answers  


why we use main in java?

4 Answers  


What is colon_pkg_prefixes and what is its use?

0 Answers  


Explain the life cycle of servlet?

3 Answers   HCL, Cognizant,


1) what is synchronization? 2)write a program to show synchronization ? 3) what is orm? 4) what is getTemplete method and hw u use it? 5)write a singleton program ? 6) what is IOC concept & explain it? 7) methods of spring? 8)explain spring framework? 9)what are the oops concept? 10)what r the diff types of exception? 11)what is AOP(assepct oriented programing)? 12)jsp life cycle? 13)servlet life cycle? 14)how to u catch ur exception when executing a query in hibernate? 15)write javascript function? 16)write a querry to join two tables? 17)wap to show inheritance and use of interface? 18)explain the project? 19)in spring bean class uses singleton or prototype? 20)Explain prototype?

1 Answers   Cap Gemini,


What is multithread synchronizing ?

4 Answers   Sun Microsystems,






Categories