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...

What is waiting state? In what ways a thread can enter into
waiting state?

Answer Posted / sandya

In 3 ways:
1.A Thread can enter the waiting state by invoking it's
sleep() method
2.By blocking on i/o by unsuccessfully attempting to
acquire an object's lock or by invoking an object's wait()
method.
3.It can also enter the waiting state by invoking it's
suspend() method.

Is This Answer Correct ?    27 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

cud u help me ... i am struggling with this question... to find all the subsets of a given set for ex.... a,,b,c shud give all the subsets.... i gt the program in c bt nt able to get it in java..... help needed ..

2153


Why is actionform a base class rather than an interface?

1003


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

1004


how do you Handle Front End Application data against DB with example?

1918


What is the immediate superclass of the applet class?

1029


What is the difference between the session.get() method and the session.load() method?

1039


What are the design considerations while making a choice between using interface and abstract class?

1019


Are there books about seam?

1053


Will the general public have access to the infobus apis?

1002


How many times may an objects finalize() method be invoked by the garbage collector?

1046


What value does read() return when it has reached the end of a file?

983


What is the diffrence between a local-tx-datasource and a xa-datasource?

997


What is a tasks priority and how is it used in scheduling?

1005


which book is better for jdbc ,servlets and jsp

2050


Why is string immutable in java?

1057