Answer Posted / prabudoss
When multiple threads are running. If a thread t1 has
locked a synchronized block and is performing an I/O
operation then the t1 will release the lock on the block
for other threads to run till the I/O operations are over.
This is called as I/O block
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Explain about java sdk?
Define how does a try statement determine which catch clause should be used to handle an exception?
What is the return type of the main method?
What is the difference between variable declaration and variable initialization?
Can a final method be overloaded?
What are pass by reference and pass by value?
What is append function?
What are the super most classes for all the streams?
Does java support multiple inheritance or not?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
How many types of string data types are there?
In how many ways we can do exception handling in java?
Why java is used everywhere?
Is java map thread safe?