What is Yield() method when we r using this ? tell exactly
Answers were Sorted based on User's Feedback
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 |
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 |
Do you need to import math in java?
Why map is used in java?
What is the purpose of object oriented programming?
What is unmodifiable collection in java?
How does regex work?
Why does my function print none?
How does linkedhashmap work in java?
what are the application of compiler and interpreter for source program
Why we do exception handling in java and how many types of exceptions are there?
Can any one say how will sort map objects in java?
when we have to use final class in java?
Is break statement can be used as labels in java?