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 matcher in java?

1003


What are the steps that are followed when two computers connect through tcp?

992


What is an interface in java?

1052


What is the size of string?

1092


What are the types of literals?

1187


What is arrays fill in java?

1012


Does java support Operator Overloading?

1041


What does yield method of the thread class do?

1039


What is widening and narrowing in java? Discuss with an example.

1040


How can I debug the Java security exceptions and AccessControlExceptions?

1152


What is a stringbuilder?

918


What is the function of static in java?

1079


What is final variable?

945


Why are getters and setters used?

1060


Why is the main method declared static?

1137