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 are the 4 types of characters?

992


Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.

1292


Is there any difference between nested classes and inner classes?

1080


Why java is said to be pass-by-value ?

1019


How java enabled high performance?

1030


Does constructor creates the object ?

1017


What is the difference between static and global variables and also define what are volatile variables?

1032


Why are generics used?

950


What is internal iteration in java se 8?

1180


Explain the difference between private, public, package and protected in java?

1031


What is a null point?

1036


When we serialize an object does the serialization mechanism saves its references too?

1005


Can an unreferenced object be referenced again?

1173


What is ascii format?

972


What is bitwise complement?

964