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?

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java se open source?

1081


Explain the pointers in Java?

1106


What is a double?

1154


What is are packages?

1084


Is it possible to compare various strings with the help of == operator? What are the risks involved?

1126


What sorting algorithm does javascript use?

1030


what is deadlock? : Java thread

1060


explain local datetime api in java8?

1055


What is e java?

1166


What is a priority queue java?

1034


Can anonymous class have constructor?

1065


What is the new line character?

1231


What are inbuilt functions in java?

1165


Explain illegalmonitorstateexception and when it will be thrown?

1155


What is arraylist e in java?

1108