Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

diff b/w sleep(1000) and wait(1000)?

Answer Posted / gokul d

The thread which is under sleep state can be resumed back
automatically after the time mentioned.But thread under
wait has to be resumed back only by calling the notify()
method.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is null object in java?

963


Can the interface be final?

966


When should I use a singleton?

982


Define linked list and its features with signature?

933


What is the difference between yielding and sleeping?

1035


What are the special characters?

928


What is meant by method overriding?

1037


What is the purpose of garbage collection in java, and when is it used?

985


explain the concept of virtual method invocation in polymorphism in detail?

2157


What is the difference between choice and list?

1044


Why can't we make a class private in java?

979


What does the three dot emoji mean?

1050


What is an anonymous class in java?

1014


Explain the difference between an Interface and an Abstract class?

1115


Is there any case when finally will not be executed?

903