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?

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / anonymous

2 ways.
wait( time ---);
sleep();

Is This Answer Correct ?    6 Yes 7 No

Post New Answer

More Advanced Java Interview Questions

What are the disadvantages of using threads?

3 Answers   Oracle, SFS,


What is a layout manager?

2 Answers  


whats is stored procedure,joins

1 Answers   Photon,


what are getters and setters in Java with examples?

0 Answers   HCL, Infotech,


Why is string immutable in java?

0 Answers  


whats is mean by object and class?

1 Answers   Saka Solutions,


Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.

2 Answers  


Difference between loadclass and class.forname?

0 Answers  


What are the steps to write p-to-p model application?

0 Answers  


What is bean? Where can it be used?

0 Answers  


what are RemoteObjects?

0 Answers   Wipro,


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

0 Answers  


Categories