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 the difference between method and means?

1091


Which types of exceptions are caught at compile time?

1042


how would you implement a thread pool? : Java thread

929


What do you mean by composition in java?

1036


What is singletonlist in java?

977


Can an interface implement another interface?

1046


what is the use of bean managed and container managed with example?

1981


What do you mean by data type?

1034


What is a boolean flag in java?

1042


What's the base class in java from which all classes are derived?

1282


Difference between == and .equals() ?

1013


What mechanism does java use for memory management?

991


What is regex java?

1117


Can a static member function access member variable of an object?

1016


Is null a string or object in java?

975