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

how can you take care of mutual exclusion using java threads? : Java thread

1048


What are the advantages of encapsulation in java?

1012


Explain different types of wrapper classes in java?

1027


Which is better 64 bit or 32 bit?

945


Garbage collection in java?

1025


Write a program in java to establish a connection between client and server?

972


What is assembly used for?

1022


What is application system?

946


What is a package in java? List down various advantages of packages.

1279


What is a list in java?

948


What does this mean java?

1114


Difference between this() and super() in java ?

1085


What is api data?

1007


What is a stack class in java ?

1109


What is the use of join method?

1033