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 Yield() method when we r using this ? tell exactly

Answers were Sorted based on User's Feedback



What is Yield() method when we r using this ? tell exactly..

Answer / naresh kumar

Yield will be called by Thread.Yield() t0 give other
runnable thread a chance to excute...

Is This Answer Correct ?    10 Yes 0 No

What is Yield() method when we r using this ? tell exactly..

Answer / mounika

It causes to pauses the current executing thread for giving
the chance to the remaining waiting threads of same priority.
if there is no waiting threads are All waiting threads
have low priority then the same thread will continue its
execution.

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More Core Java Interview Questions

When object is created and destroyed?

0 Answers  


What is an infinite loop in java? Explain with an example.

0 Answers  


What is difference between equals and hashcode method?

0 Answers  


What are the difference between composition and inheritance in java?

0 Answers  


Explain throw keyword in java?

0 Answers  


Explain what pure virtual function is?

0 Answers   Aricent,


This is my code i have a doubt class ab implements a,b { public void add() { System.out.println("Hi") } } interface a { public void add(); } interface b { public void add(); } in this code i have two interface implemented in the class has same method.just i want to know which method of interface implemented in the class. interface a or interface b? confused me .

3 Answers  


Why singleton is not thread safe?

0 Answers  


Can an unreachable object become reachable again?

3 Answers  


What is thread pool? How can we create thread pool in java?

0 Answers  


What is not thread safe?

0 Answers  


How do you sort a string in alphabetical order in java?

0 Answers  


Categories