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 the Yield() method used in threads?

Answers were Sorted based on User's Feedback



what is the Yield() method used in threads?..

Answer / pankaj malik

Causes the currently executing thread object to temporarily
pause and allow other threads to execute

Is This Answer Correct ?    3 Yes 0 No

what is the Yield() method used in threads?..

Answer / chikku

This static method is essentially used to notify the system that the current thread is willing to "give up the CPU" for a while. The general idea is that:
The thread scheduler will select a different thread to run instead of the current one.

Is This Answer Correct ?    2 Yes 0 No

what is the Yield() method used in threads?..

Answer / manikandan [ gtec,vellore ]

after invoking yeild() method it enters into a ready state.

Is This Answer Correct ?    1 Yes 0 No

what is the Yield() method used in threads?..

Answer / sasirekha

yield method will allow other thread to execute.

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is e java?

0 Answers  


What does || mean in vectors?

0 Answers  


How are Observer and Observable used?

3 Answers  


What is finalize()?

0 Answers  


explain the collection in java

1 Answers   WDC,


What is a resource leak ?

1 Answers  


What is meant by event handling in SAX parser?

1 Answers   Ness Technologies,


Will the compiler creates a default constructor if I have a parameterized constructor in the class?

0 Answers  


How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?

1 Answers  


Different types of modifiers?

8 Answers   RoboCom,


What is double data type?

0 Answers  


what are three ways in which a thread can enter the waiting state? : Java thread

0 Answers  


Categories