why the sleep method does not leave the lock and wait method
leave the lock

Answer Posted / alan

Thats a very nice answer Saurabh.
makes my understanding clear about both sleep() and wait().

Which one is the best site to look for more java related
questions?

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the content reside in Use case Document?

1623


What is property file in java?

468


What is an entity in java?

469


What is map and flatmap?

599


What is type_scroll_insensitive in java?

470






What are the advantages of java 8’s date and time api over old date api and joda time api?

623


In java thread programming, which method is a must implementation for all threads?

497


What is the difference between collection and stream?

468


What is jndi datasource in java?

463


What is class path in java?

454


What is dto layer in java?

450


What is the difference between a while statement and a do statement?

486


What is flatmap java?

490


what are the different phases in delivering the project during development and maintenance?

4129


What is the resourcebundle class?

522